Rename some functions.
Added items selection on click. Also fix wrong bboxes for pathes with large miters