added headers when decrypting qr message

also fixed bug preventing opening a message from scanning