dart vm integration, some fixes and changes

changed event bus class
some const correctness fixes