Moved raytracer code to Scene, Scene renders to memory, Window writes memory to file