added BT, added broadcasting, added mode stuff under LED loop