swapped the message pane to use scala xml for layout