some fixes, now textureloading is working