Implemented back button and menu handling. It is now possible to go to the menu and back to the game again.