The part of the renderer responsible for light transport has been split out into a LightPath struct. Also moving over to spectral rendering, although it's a bit silly at the moment.
This will be critical for spectral rendering, whenever I get around to it.