Fix word index error with /TM command

-Some whitespace fixes for errors introduced in previous commit
Add method for printing full language name when using /TM command
Fix capitalization with findLangName method