reactivated gwt test mode
added events for editor states
replaced various callbacks with eventbus