Reordered some events
Added debug output to WindowMonitor::NotifyObservers