GUI/Logic: delete revisions on window close