setStatus("Starting worker...");
CourtesyMonitor courtesyMonitor = (powerMonitor != null) ? powerMonitor
: new UnconditionalCourtesyMonitor();
ThreadFactory threadFactory = new BackgroundThreadFactory();
worker = new ThreadServiceWorker(serviceFactory, threadFactory,
getProgressPanel(), courtesyMonitor);
worker.setMaxWorkers(options.numberOfCpus);
boolean cacheClassDefinitions = pref.getBoolean("cacheClassDefinitions", true);