Solved insidious bug in collisions. (An object could collide with
itself. Sigh.)