Move editor autosave/save-queue logic out of EditorPanel into a standalone controller that survives tab switches without keeping the full editor UI mounted. Add updater lifecycle events so beforeunload guards step aside during quitAndInstall, preventing stale dirty-file prompts from blocking app restarts.