rewrote resource loader too not use ogl on client threads
Merge branch 'master' of https://github.com/bagedevimo/pxljm