Ensures that everything is killed on exit.
Moves creation of the save directory to the base class of all IO dialogs.