optimizing SVG, some doc improvements