Added a number of comments, and fixed some comments.