Got the intersection main loop working.