Minor tweaks to connect and connected thread
Merge branch 'master' of github.com:theJenix/bluetooth-test