Preferences window fixups