Fixes for loading of preferences.

Now can load up preferences and remove particular instances
of watched documents from the settings