Hack to prevent wxvbam from crashing whenever the display setting were changed.

This only happens while a game is running.
InterframeCleanup() doesn't seem to be called in a thread safe manner, so double frees were occurring.

wxvbam and gvbam may hang when attempting to close after changing display settings.

This patch merely prevents wxvbam from crashing when the settings are changed.