Various improvements, uses TBUtils/global config caching