gui: ensure calls to WX when .debug VA is changed are in main thread

could cause crash when an exception was logged