New objectfactory & texturehandler fixes