quit program on escape button pressed