fix some bugs in the robust transport.  also, actually run the thread in
a thread, and not in the main thread, whoops!