ensure to persist broken graphs + pull latest source code from UI if app...

...licable @phtaylor: persistence is now capable of saving broken graphs. on top of that we query the UI through a callback for the latest code in the UI, so we save operator code which hadn't been compiled at all yet.