Adding a command_queue class. Note: Despite it's name, this class is most similar (in threading model anyhow) to XSDK's
XBlockingQueue.