Fix IMC crash. Add extra IMC logging.