Fixed an issue where if there were more than one window, when they were closed, the CLOSED event would trigger but the window count did not decrease. This happened because after the window was destroyed the DestroyNotify event was triggered, which when looked up in the m_windows map, reinserted itself with default initialization.