Added test svg output
Added svg output to gui
Added merging polygons by lines
Improved polygon merging
Potential fix to inside lines not being created