POWER UPDATING IS WORKING! (mostly)

fix power updating :D
fix several bugs to do with power updating