update qr lib to include a scanning only mode.