Rewrite the path integrator. Make the rendering process visible.