Bugfix cache, cache synchonization. Feature: threadlocal switch of caching, autoValues etc.