More changes to save and reload graphs