bug fixes; reading pane layout;