added a connection status and changed the IOIO looper thread