Escape key ends application