Heh, here's one of those ideas that's reeeeeally nice to think of after the fact: If there are unsaved changes in a module when quitting, prompt the user to save the changes before closing the program.
Now please excuse me as I have to redo 30 minutes of work... :)