Respond to beacon ranging preference, fix some bugs around BT being disabled