I see you're using 7000-lines-of-code file for QR. It would be great if it was replaced with https://github.com/paulmillr/qr, which is tiny new QR decoding/encoding package.