// These have to be before the GUI setup.
this.workflowClient = WorkflowEngineManager.getWorkflowClient();
this.workflowClient.setXBayaEngine(this);
this.myLead = new MyLead();
this.subWorkflowUpdater = new SubWorkflowUpdater(this);
// Set up the GUI.
XBayaEngine.this.gui = new XBayaGUI(XBayaEngine.this);
// Arguments errors.