added queue, started adding RenderingLayers.
added render layers.
sprites are now removed from layers.
refactoring
removed debug line.
Merge branch 'master' into gh-pages
updating release.