Fixing a couple of comms module bugs.
Added busy wait to EventLoop.