Fix undo history across file changes, ask users about unsaved changes
Correctly show user profiles in profile list