attached_sessions, attached_window(), attached_pane() instead of active.  Server.switch_client (switch servers). Move list_sessions into Server.