Make gTiles not global.