Lots of work on the component editor dialog