Removed commented code from main.m
Improved QR scanner, bug fixes