Allow Window initialization with current window closed
Prevent Exceptions when running error checkers with alerts or closed windows