CommonLibrary had some undesired knowledge of UI. Split AppPreference and UIPreference. Then move some more stuff from AppUI* to UILibrary. WARNING: this forgets existing UI preferences (e.g. favorite servers).