fixed bug that caused exception if supplying ?locale=
UI: configuration management improvement for readability