Store settings implicitly on close to improve usabilityt.