shell: If the user double-clicks a project name, ignore the second click.
Fixes #912
DataExportGui: Clean up slots producing the on-disk layers whenever the associated viewer isn't shown.
(Attempting to address #889, which is a Windows-only issue.)