Major refactoring

Changed a bunch of stuff. Removed EventManager (again). Added simple hit
testing of GUI elements. Added some basic on screen controls and
probably some other stuff.