public void todo(int work) {
   if (monitor != null) monitor.todo(work);
 }
 public void startJob(String name, int totalWork) {
   if (monitor != null) monitor.startJob(name, totalWork);
 }
 public void startJob(String name) {
   if (monitor != null) monitor.startJob(name);
   stdout.println(name);
   stdout.flush();
 }
 public void startJob(String name, int workShare, int totalWork) {
   if (monitor != null) monitor.startJob(name, workShare, totalWork);
   stdout.println(name);
   stdout.flush();
 }
 public void event(String name) {
   if (monitor != null) monitor.event(name);
 }
 public void event(String name, int inc) {
   if (monitor != null) monitor.event(name, inc);
 }
 public void event(int inc) {
   if (monitor != null) monitor.event(inc);
 }
 public int endJob(boolean succeeded) {
   if (monitor != null) return monitor.endJob(succeeded);
   return 0;
 }