Allow saving SVG.
Merge branch 'hotfix/fix_bugs'