improving selection of language

- when the participant language is unknown, the language
  chosen should be based on those available at the site level to the user
  based on region/site/language settings, then as a last resort,
  the service language
- style fixes