Fix some minor logic derps in the energy pulser. Much better behaviour now.