added handling of settings, is_enabled() helper, and boolean 'trace' setting