When doing a first clean,for me the most important part of the window is the top of the frame,clean and rinse,I normally do this at least twice,then clean all other windows,then go back and clean again,the spotting is due to dirt being left on top of the frame.
Also check you water with your tds,ensure you cleaning with pure,or as close to pure as poss
Time spent on your first clean,will minimise any future problems.
That's what I do,and don't get spotting,not saying I'm the best window cleaner but it works for me,others will have different methods