Added more comments.
interactive mode is now more responsive to changes in energy levels. powerup command identified by p instruction. cooldown animation now ranges between 0.0 and 1.0.