Detection improvements
Detect window creation