More steps towards actually being able to save a session, and to basing the whole application state on one central document.