Remove the GlobalCamera().createCamWnd() overload without arguments, as it is bound to crash.