fixed SVG output; added XML headers and updated to SVG 1.1