beginning work on imczmq and small fixes to omczmq