Synchronize Bluetooth phone with Thunderbird

Develpers' detailed documentation for the Thunderbird Extension for synchronizing a bluetooth phone with Thunderbird/Lightning/Sunbird.
A part of blueZync.

Todo List

Member BluezyncPreferences::loadBluetoothLib ()
Improve error checking (what to do if call fails)

First time xpcom method is run, this works. Second time around tbird crashes

File settings_window.js
If settings window is closed, thread should be aborted

Member bluetoothScanComplete
If there is only one device there is no need to show device selection