split ui and session scopes in commandwin