#8478 Code cleanup to fix some warnings Several adjustments to improve the specification and usage of compile flags.
setUiField() call used to keep track of which fields that is retained when updating an editor. Replace this workflow with a set of the ones that are used, and use this set to clean up unused editors afterwards.