Fix Javadoc; imports.
Fix hang if loaded before WoT.

connect() is blocking, so start a thread to avoid hanging startup and
preventing subsequent plugins from starting.