assert in CommandProcessor>removeCommand and some basic logging
updated logging