Added manditory cleanup of textures in openGL