AutoMinimizer is defined as struct
Get rid of shadowed variable
Use Util::RegistryHandleHolder

- Remove old helper functions from ListenerHelper.h
- Add new factory functions to ListenerHelper.h that create holder
  objects
- Use holder objects in components
- Use the new factory functions to initialize the holder objects
- Many destructors can now use the default implementation