fix bad logic in peer test
vanity, no
improve debug logging, and flush seen for all pipes on a sync
use distinct logic for knowing a resync from a reset
link channels are inherently reliable, and pipe sorting needs real numbers