Reconfigured UI to work with JSON/multi-sessions.