Added handling of ESC and Enter/Return to msgBoX