Refactor?

Somewhat isolated IO and game state. Changed CSS to reduce JS. Added
charset to html. Format, blah, blah, blah.