fix excpetion handling
Did not expect this - Merge branch 'master' of https://github.com/ohearnk/CS467
Tornado code - Merge branch 'master' of https://github.com/ohearnk/CS467
refactored BT sockets as pseudo-global objects created in main() before Tornado event loop begins