Made multiple grammatical changes

Changed wording in multiple areas to clarify meaning, correct grammar,
or resolve typos. In addition, removed one comment from a sample code
block which was not relevant (it was leftover from a previous sample).