Basic foreground/background started
current layer as variable
Clean up, improve shiftView call
Restructured code to match the desired architecture and added game loop
Fixed some missing links
merged changes from branch 'master'
fix merge conflicts
Added event dispatcher, included application.js on main page.
misc work
Merge branch 'restructure' of https://github.com/aj-r/uwgame into restructure
Wired up broadcasting game event model
implement map update function
fix merge conflicts
additional info in input, improved movement handling
unpress inputs queued, movement stops if both directions pressed
Fixed comment
Add event MAP_UPDATE, implement idplay update
Implemented background reload threshold, renamed some things for clarity
Changed the input handling structure so now only the input target has access to the current input states.
Changed where the repeat bit is stored so it is in a more logical location