Added debugging for missing command & message nodes.