speed improvements
Merge branch 'master' into gh-pages