* Fixes a memory read error when closing the windows due to delayed dimming rules...