resources = createResources();
StyleInjectorHelper.ensureInjected(style(), true);
errorHandler = createErrorHandler();
model = createApplicationModel();
configuration = createConfiguration();
final BaseGui gui = createGui();
controller = createMainController(gui);
controller.invalidateUi(true);
controller.onApplicationLoaded();
}