added message pane
cleaned up some comments and prints