Added a callback structure to the menu button code as well as a game state system