tweaked formatting.
minor code tweaks.
fixed construction of renderer::ShadingRay objects.

in some places the dtime argument was missing, causing incorrect initialization of the ray type and depth.
the depth argument in renderer::ShadingRay constructors is no longer optional.