Implemeted svg_out(), and it looks pretty good