Export svg

closes #349 
also closes #482