Config now saved upon closing