Fix a crash bug in the config editor.
Fix a potential crash in the debugger.
Correctly initialise the datadir variable when using wxWidgets 3.0 on Mac.
Fix escape handling in pgpass files.