Add preferences

Allow user to set on-save, mangle, and compress preferences