SVG clipping fixed and lines changed to polylines for better SVG
manipulation.
SVG validation.