reorganized shadermanager a bit.