Added requestAnimationFrame to draw function and loading class. Changed dragdealer initialization.
Merge branch 'master' into gh-pages