general mantainance and bug fixes; added textured sphere class