public MainWindow(ViewManager viewManager, CommandConsole commandConsole) {
this.viewManager = viewManager;
this.commandConsole = commandConsole;
fileDropHandlers = Lists.newArrayList();
appMsgListeners = new ApplicationMessageListeners();
actionDelegator = new ActionDelegator();
editorService = new DefaultEditorService(this);
activeObjectService = new DefaultActiveObjectService();
activeObjectService.addActiveObjectProvider(editorService);
StatusPanelErrorPublisher.installInWindow(this);
createSections();