Disable enough various calls so the main window at least can show