Solved some of the issues caused by recursion, and made the raytracer 'live'.