source-pane: various cleanup.