Now, exiting the UI terminates the program.