Renamed all win objects to window