Restore engine shutdown functionality when "Quit" is selected on the menu screen