shouldClose

Whether the window should close.

This is determined by whether the 'X' button was clicked, the computer is shutting down, or other triggers that would cause the window to close.