Fix SVG syntax.
Preliminary save capability.