check minecraft window status.