fix save/restore window-confs especially for none perspective and some other minor fixes