WIP:  new line detection code - no audio yet, but handles rotters better