simplify preferences handling
add default value for quitAfterSave option
deleteFile -> deleteSchemaFile