KT: GetWindowState() && ShouldShow() for XWrapper.
KT: don't show windows that shouldn't be shown.