Made some changes of how expressions work to make them more robust. Also added Scope.RunningEnvironment for console-like behaviour.