ref #8389: fix problems with search preferences
ref #7163: externalize strings in preferences
ref #7163: restructure preferences and externalize strings in preferences