public void run(){
      while( status != Action.DIE ){
        status = Action.CONTINUE;
        Percept p = architecture.sense(this);
        if( visualizer != null ){ visualizer.show(this,p); }
        Action action = program.compute(p);
        if( status != Action.ABORT ){
          architecture.act(this, action);
        }
      }
    }