Added some helpers to the GlobalState

Allow lookup of Key[T]'s sense we know that it should be GlobalScope.
Also made scope disposal properly thread safe.