more accurate spacing location of dabs
added switch for linear/bezier mode