loading and saving figures works; saving GUI state with figures works;
next step is to add loading figures to load GUI state