Fix two bugs that occured when clicking cancel in polyline/polygon draw mode.
Cleaning.
Increase version number.
Build update.