CoordinateMapReader, moved some TextureBuffer code