Fix bind(). Implement pointer lock.
Merge branch 'master' into gh-pages