added texture groups
worked on palette