add window command.
fix so that info windows is always index 0.