prefs: use a dialog to show the language preferences.
ignore backup files ending in ~.