make stats mgr thread safe
stats manger should be thread safe it is desirable to be lock less (statistics for each thread), and only when merging data, the functions should have (if any) performance impact (use lock less data structures or read/write locks)
please review !592 (merged)
Edited by Razvan Becheriu