Improved reliability of Aversive::init. Downsized the critical section in ClientThread::run to access the device list.