DAWG stats & minor optimisations.