big update; working on texture management