Cleanup and monadization of methods in GLTexture.
Incremental implementation of TextureTileManager.