Allow setting additional arbitrary preferences in presets.
Fix flake8 complaints.
Update copyright date.