Add SVG export and better area processing