Improve the console progress bar

Make the console output more meaningful. Each row shows 50 dots, each representing a detection.  If the result of the detection is alarm, the dot will be replaced by a digit.