Some typo fixes, addition of comments