Consensus shutdown
I tried to keep the commits clean here. Clean shutdown still is not complete for the consensus set, which means we may still see logging panics after this gets merged. But I went ahead and made the PR because I touched up some of the IBD code while I was digging around.