ecere/gui/Window: Fixed deadlock on reload dialog boxes
- Unlocking GuiApplication prior to deleting a file monitor
- Also avoiding to instantiate FileMonitor for non-document windows, which will also
 avoid the problem that was caused by tooltips being deleted from the IDE's AdjustDebugMenus()
 from within GdbThreadMain() with the guiApp locked, while at the same time the main thread
 had the file monitors mutex locked, waiting for the GuiApp from within a Modal()