more debug options incl. rainbow pitch ...
cleanup
better add pt segment detect

expand now handles additional case of finding single midpoints for all
existing points (measure distance from click to midpts to find best
segment to bisect with new point)