Fixed OrbitControls domElement.body dependency. Also some code clean up.
Merge branch 'master' into dev