Added in some additional fixes to try to hide units before creating them.

Fixed up some js events. GOD mode is working (albeit terribly). Fixed a
typo in html file.
- Added back in pause feature (space, p, or p button)
- Toggles for debug features are enabled, but the debug feature itself
still needs to be added back in.