injector.getResources().css().ensureInjected();
GWT.setUncaughtExceptionHandler(new GWT.UncaughtExceptionHandler() {
public void onUncaughtException(@Nonnull final Throwable throwable) {
ErrorDialog errorDialog = injector.getErrorDialog();
errorDialog.setException(throwable);
errorDialog.center();
}
});
injector.getDispatcher().start();
}