anchor.diff:  -define(wrangler_debug(__String, __Args), ok).
   -endif.
   
  -start_link(Cmds)->
  -    gen_server:start({local, ?MODULE}, ?MODULE,[Cmds], []).
  -
  -init([Cmds]) ->
  -    ?wrangler_debug("Cmds:\n~p\n", [Cmds]),
  +start_link(CR) ->
  +    gen_server:start({local, ?MODULE}, ?MODULE, CR, []).
  +
  +init(CR) ->
  +    ?wrangler_debug("CR:\n~p\n", [CR]),
       process_flag(trap_exit, true),
       NameTrackerPid = spawn_link(fun()->name_tracker_loop([]) end),
       register(wrangler_name_tracker, NameTrackerPid),
       CurrentPid = self(),
  -    Pid=spawn_link(fun()->cmd_server_loop(CurrentPid, 
  -                                          #state{cmds=make_list(Cmds),
  -                                                 name_tracker_pid=NameTrackerPid})
  -                   end),
  +    Pid = process_one_cr(CurrentPid, false, undefined, CR),
       {ok, {Pid, NameTrackerPid}}.
   
   
  
positive.code:                                     NextCmd),
                      {ok, none, [], {error, Msg}}
              end;
          Others ->
              Msg=format_msg("Unexpected Message in get_next_command: ~p.\n",
                             Others),
  
negative.code:                                         {true, _} ->
                                              CmdGen
                                      end,
                              NewCR = generate_cmds(CmdGen1),
                              case NewCR of
                                  [] ->
                                      From !{get_next_command, Parent, 
                                             [ok, sets:to_list(ModifiedSoFar)]};
                                  _ ->
                                      Pid = process_one_cr(self(), Qual==atomic, undefined, NewCR),
                                      From ! {get_next_command, Pid, [ok, []]},
                                      while_refac_loop(Parent, State#state{cmds={while, Cond, CmdGen},
                                                                           changed_files=ModifiedSoFar})
  