Code formatting.

Updated barcode scanner comment.
removed old code that I had commented out until new code was tested.