updated textures and removed thread usage