modified to split window by auiNoteBook