Quitting game goes back to main menu and refreshes board.