preserve initial state when loading documents
fix duplicate keys in state transition view
added MgSpringFunction; node transitions use it by default

(default == always, currently, as transition timing still can't be
edited via the app UI)