File IO for graph

I'm not sure how to integrate nicely with the side panel. I think you said you were cleaning up the UI so you can rearrange as needed. It should be easy to figure out how it works, if not let me know.