Remove gui functions from cli library
Update weighted Visvalingam function
Add -dissolve2, handles overlaps