Force save (and cleanup) downloads.json on browser shutdown
(#5)
Add "cleanupDownloadsOnShutdown" preference
(#5)