Added handling of ESC and Enter/Return to msgBox

See issue #1 . I hope this will help.