Refactored 'leaving the application' for better re-usability (e.g. the menu)
Added quit via Main Menu