menu-game transition

Switching between game to menu is fixed. For now while playing  press
esc to return menu. Settings will remember their state.