implements behavior for initialization of the world after a load game; fixes detection of exit condition
fixes a bug which allowed the player to move through the exit block tile
fixes a bug which transported the hero previous tile from the previous level
creates a simple state machine
changes the way the the user quits the game
adds some error checking for the states
adds simple Menu and Button classes
adds Menu loading from file
successfully shows the menu screen
put the buffer switching logic in a Graphics module
refactored the PollInput method a bit
implemented scripts interface for the buttosn
implements button scripts