Added to quit when escape is pressed