Commented code added (not in use yet) to reuse textures if they have been loaded before