small tweaks, made detector settings persistent.
Merge branch 'master' of https://github.com/pupil-labs/pupil