Fixed nasty (but stupid) segfault bug.

Now scenes render, some of them almost correctly.  But some scenes are
clearly very, very wrong (especially the cornell box).