Changed a bit on how energy is transfered. Prevented energy getting stuck. Also reset senders after energy is transfered.