Added wakelock to scan.
added executorservice for downloading images (fixed lag).
Added escaping from connection dialog by killing the app (temporary solution).
Improved scanning by rotating the image and decreasing resolution on high res cameras.