Added conditional support in HalfViz for JavaScript-driven network creation (which supports my GWT/GXT application now), and a fix to ensure shadows remain inside the bounds of the canvas