Barcode support

Fixed receiver leak
Moar tests