update selection code
Merge branch 'master' of github.com:jalmond/LQanalyzer