Added textures, added SAH, bug fixes