Kd-tree now has option for minimum faces per leaf node. Changed kd-tree construction; hard to say if for better or worse. Intersection test now has the bounding box of the node as limit, so a face hit outside of the box doesn't mess up the node index. Weird faces bug still there, staring at me.