Update SmartFlip/WindowManager.cs