Core: Make blob consolidation step threaded

It takes a long 5 minutes on larger imagery.