I'm really stuck on this and guess that i have to try some different lib's perhaps, it's a shame because i liked these

I will try some stuff next weekend but add the weirdest part.
I took everything from the loop in the ethershield example and placed it in a separate sub called EtherLoop(),
if i comment out the call of etherloop everything works (by that i mean that i also setup everything for the ethershield loop).
Now i can make a "if(some_bool = true)" and leave some_bool false and uncomment the EtherLoop(), now it's not called for sure
but still rebooting

(like, huh?) but if i comment it out and leave the loop but don't call it than it works....
Anyone have any other ideas?