fix minor typos; make a few changes to comments