added exit button at pause menu and disabled close button at the window