Disable wx assertion in debug builds due to wxWidgets asking for the verbose option internally.
Fix crash at shutdown due to module unload / wxWidgets cleanup conflict.