Fixed a few mistakes and typos in the comments