Improved removal of old tlogs. Added buffering option.
Added buffer state synchronisation
Merge pull request #4 from sindicetech/cdcr-11

Cdcr 11