Show vampire

A few fixes and improvements.
- orderBars could fail if the first or last element in a series was null
- there were a few debug console logs left in the code
- the hack to improve the energy accounting was a bit too aggressive. This seems to work with all data I have so far but clearly needs more testing. I'm still not happy with this hack :-(