checked windowShouldClose