Added cursor off in ClearWindow()