reword the window mode selection stuff