I fixed a bug. There isn't much else to say, because rendering still doesn't work. I'm pretty sure I'll have time to fix it tomorrow.