* Change save_settings call of main and viewer windows to