small Windows compilation fix around DebugMessageHandler.h (missing
windows.h), cleaned up in MainWindow.cpp