checking windows gui