Update SmartFlip/Window.cs