added pause menu item and working exit menu item