More code cleanup, needed for future plans.

- Put formatTooltip() into LanguageHelper so I can use it for other
things too.