Allow the ability to save the graph.

Limitations: Currently FF saves with incorrect image extension and
the background of the image is transparent (will fix later).