Nevermind, folks... I've decided to go with the default "Escape" command, as it won't effect the gameplay nearly as much as an occasional program crash would.
Still, if you think you have a solution to this that I hadn't thought of... Post it! I can always use the extra knowledge for next time.