anchor.diff:              end,
       %% Then decide whether we are at our max loading dock size.
       {NewBatch,NewRounds} = 
  -            case queue:len( Batch ) > ?BATCH_SIZE_MAX of
  +            case queue:len( Batch ) > State#state.max_batch of
                   true ->
                       erlam_private_queue:push(Batch,State#state.procs),
  -                    {queue:new(), 2};
  +                    {queue:new(), State#state.batch_replay};
                   false -> {Batch, Rounds+1}
               end,
       %% Finally update our state based on our decisions.
  
positive.code:         {ok, {spawn, nil}} ->
              {ok, waiting, State#state{waiting=false}};
          {ok, {spawn, ProcessBatch}} ->
              {ok, running, resetCur(ProcessBatch, State)};
          _Other -> 
              {ok, waiting, State}
      end;
  
negative.code: % number of unique processes a channel sees could be the max batch size).
  -define(BATCH_SIZE_MAX, 20). 
  
  % It may be useful to run through the batch multiple times before asking for a
  % new one. The batch replay constant multiplies with the number of processes
  % currently in the queue to produce the number of 'rounds' to run before giving
  % up the batch.
  -define(BATCH_REPLAY, 1).
  
  %% Process inspection operations:
  -include("process.hrl").
  
  