automatic pane renaming and other bugs fixed.