fixes some annoying punctuation errors.
Merge pull request #6828 from Glloyd/formatting

Fixes some annoying punctuation errors