Handle the g figure downloading
downloadgFig(rv, sc)
the reactive values list
size class
a download handler function