fixes punctuation and capitalization errors
removes trailing whitespace