Fix UI jank. Add support for pairing. Add missing XML parsing jar.