show name of currently displayed environment; fix pane sorting