Organize texture disposal (needs reviewing)