Word repetition fixed
Fix potential spacing issues after commands and symbols at the end of sentences
Fixing more potential spacing issues due to command terminations and symbols at the end of sentences