Added pane index option to start with 1.