Increase buffer size and check for over-run when resetting refdes
gaf export: Destroy drawing context when done exporting
gaf export Destroy surface when done exporting
Do not pass a file name to cairo_svg_surface_create when determining size
gaf export: Use seperate draw function when exporting svg