support for window command

closes #12