Added some fixes to the multi raytracer project.