// In case we need a console, create it in the EDT
$.ui.edtnow(new F0() {
@Override
public void f() {
initUI();
JCoresScriptRuntime.this.consoleWindow = new JCoresConsole(JCoresScriptRuntime.this.banner);
}
});
// Register our termination hook
this.consoleWindow.addTerminationHook(Thread.currentThread());