Fixed various things.
Merge branch 'master' into gh-pages