Adding more internal register to the state dump task. Fixed missing reset of block counter registers.