fix bug in gui event handling of game states
insert buttons in main menu game state
update event handling of game states
update docs