fixed statechange processing in the Connector
fixed problem with default constructor of CodeCatchedEvent
removed theme
various minor cleanup