Fixed issues with multiple outputs for tx signing and with QR code creation.