Implemented WorkerThread and BlockingEventQueue
Merge remote-tracking branch 'nicholas/master'