General cleanup for stability.
Merge branch 'master' into gh-pages