MainMenu Quit Button Functionality

When quit button is clicked, program terminates
Also changed ActionEvent variable name from 'e' to 'event'