Fix typo.
Expose last session index through session model.
Modify themes to use session model, clean up session manager.