1. alter the way in which traceline be drawn
2. bugfix: one can not stop pattern unless release mouse upon a dot.