Quit functionality and cursor in menu