Code cleanup in SVGViewer.