anchor.diff:          reply(From, {X,Y}),
           loop(State1, Tick, Tref, Tc);
       {cast,From,{set_position,X,Y}} ->
  +
  +        %%  logging unused variable!
  +        lager:warning("set_position From? ~p \n", [From]),
  +
  +
           {_,State1} = luerl:call_function([this_unit,set_position],
                         [float(X),float(Y)], State0),
           loop(State1, Tick, Tref, Tc);
  
positive.code:         reply(From, {ok,Tc}),
          loop(State0, Tick, Tref, Tc);
      {cast,From,{set_unit,Name}} ->      %Set a new unit chunk
          {_,State1} = do_set_unit(Name, Tick, State0),
          loop(State1, Tick, Tref, Tc);
      {call,From,{lua_do,Command}} ->     %"do" any Lua command
  
negative.code:         reply(From, {Dx,Dy}),
          loop(State1, Tick, Tref, Tc);
      {cast,From,{set_speed,Dx,Dy}} ->
  
          %%  logging unused variable!
          lager:warning("set_speed From? ~p \n", [From]),
  
          {_,State1} = luerl:call_function([this_unit,set_speed],
                        [float(Dx),float(Dy)], State0),
          loop(State1, Tick, Tref, Tc);
      {cast,From,zap} ->
  
          %%  logging unused variable!
          lager:warning("zap From? ~p \n", [From]),
  
          {_,_} = luerl:call_function([this_unit,zap], [], State0),
          timer:sleep(1500),
          %% Remove ourselves from databases and die
  