Add config option to disable exiting when escape is hit.

Adds config option to disable exiting when escape is hit. The default is still to exit on escape, like it used to be. The config version is also incremented to 10.