Minor logic changes
Merge branch 'master' of https://github.com/Gnewt/bainbridgefirst