Added a preference setting to indicate if we should purge caches and old files.