Add escape key for closing the program