Implemented texture unloading