Add some comments and a few style fixes.
Merge pull request #761 from pagespeed/jefftk-adding-comments

Add some comments and a few style fixes.