Added window number mode.