1. Reads the scanMode from the control file that's written out by the other app, phonegap-fieldays-innovation-controller, and does a qrScan or arScan based on that. 2. Dr Bainbridge fixed the behaviour of the crossfade leading to the audio, which used to play even if the back button was clicked on the startPage and the user had gone back to the homePage from there.