fixed camera and barcode assembly code. Needed strange changes with InvokeRequired etc.