Fixed some bugs in the icmd backend.