saving and parsing figures works; I just need to make the gui set the
parsed and converted figure to the active one and stuff then work on
saving the GUI state including figures