Added debug mode for the message pane.