fix styles, add comments
Merge branch 'master' into gh-pages