don't add import if it's already defined
remove outdated comment
apply relative path preference only when apply button is clicked
track modified state on settings text changes. relates to #76
track modified state on settings text changes. closes #76