Renamming components.
Replaced the need to create open and close Application Events. Now there
is only one event with an enumeration for open and close and an
enumberation to identify the component.
Wrapped the ApplicationEventPublisher to further reduce code and make
the application more intuitive.