added vehicle detection tests and reworked logic for same
vehicle lookahead mostly there, but working out problems with next-segment lookup