Support incremental cycle collection statistics (#187)

A fix for #187.

It contains a minimal re-factor also.