Not very clean that the different calls with uiInterface.ShowProgress("Verifying blocks..."... are called from two very different places.