Improved the documentation and code smell, also made all displayed strings use the same set of local variables, even if they are repeats of existing ones (makes localization easier).