Major fixes to qrcode and a small fix in the EKF.