Handle ESC key press
fixed ESC. Changed some of the names to follow Qt convention