More work on fine tuning of window vs display coordinates; works on Windows