diff halving removal: also use ema for >20mins blocks.
Merge branch 'master' into release-0.1.3