Fixing GUI and HK2 bugs in PreferencesView classes and adding logging