add support of smooth curves in the preferences.