Fixed bugs, improved handling of case where there is no Bluetooth adapter