Add clearWindow() for Windows.