refactores stats collector and metrics calculations
fixed crash throttler
more stats counters