Bug fixes and coding style.
- Try to fix usb input from the scanner. Untested since I don't have a scanner at hand. Haiku returns a UTF8 string that
is not handled correctly. For now I just ignore the UTF8 control bytes. # (use "git reset HEAD <file>..." to unstage)
- Fix bug when editing a product in the stock.