Modified the scanning byte source to go until failure.

Also added debugging statements to monitor progress.