Added better session management. It is now possible to arbitrarily save a session.