Added the possibility to quit by pressing escape, by default