Controller CommandQueue to Queue for Enqueue and Dequeue semantics (and to avoid stack overflow in PasteCommand)