Comment changes & minor code fixes

- Clean up documentation and make parameters consistent in comments.
- Minor change to a regex
- Changed getCleanRoute to prevent possible replacement of language strings not in the first section of the path variable.

P.S. Sorry about all the pull requests today.