test cmd type on the deleteProc,not the objProc or nreProc
small fix in OO constructors (dkf approves?)