load gamestate and menustate after the game loads