Simplify the window-moved / save position code, removing what's now dead code
window: Massively simplify a one-line loop :)
Editor: Put a big fat "Save window position" button onto the window - ugly but effective