Refactoring
When the user clicks the same point twice, do not add it to the current polyline and exit; Close #37