energy bar has smoother transition now

+the bar now intellegently glides between states
+some related refactoring
?attempted to give the same effect to the charge bar, but failed repeatedly...