Improved QR interface and fixed bugs