Fix my misunderstanding of how the threshold is set manually. Make software emulator threshold scan more realistic.