Add options to dedup textures on dds load, and test function to unload
texures+geometry+material.