make initial graph taller to avoid negative height

The initial layout for the graph is done with a default size
before it is resized by the semantic layout system.

Increase the height to avoid rendering errors in the console
caused by size.height being negative due to padding calculations.
application.js: make many global vars local
Energy2D HTB S1C1: make public