[common] fixes accumulate/sum of PerThreadValues
[common] couple more perthreadvale fixes