gui-0.2: Minor fix from the gui-pre-release tag.
This fixes a major bug where temporary files does not get cleaned when the user did not specified a global persist dir (the default).
This fixes a major bug where temporary files does not get cleaned when the user did not specified a global persist dir (the default).