add CQmode/WRcounter to CommandQueue
add code at enqueue/Issuable/pop function