Added visible/invisible window modes