Fixed wrong event dispatching for OSGi events
added synchronization on concurrent methods