fix a couple crashes disable emitting import progress in non-import case