Destroying window
WakeUpMainThread might be able to convice wx to quit