More work on setupEntityLightingGrid.