Fix #102, Fix #88 - doctypes and saveSVG