anchor.diff:        process_native_request(ActionTerm, Request, State);
       ValidPid when is_pid(ValidPid) ->
         logger:debug("Found extern pid ~p~n", [ValidPid]),
  -      process_extern_request(ValidPid, Request, State);
  +      process_extern_request(ValidPid, Request, Pending2, State);
       undefined ->
         Sock = Request#request.sock,
         gen_tcp:send(Sock, term_to_binary({error})),
  
positive.code:     _AnyError -> ok
    after
      asset_pool:return(Pid, Asset),
      ernie_server:asset_freed(),
      gen_tcp:close(Request#request.sock)
    end.
  
  
negative.code:           receive_term(Request2, State);
          _Any ->
            Request2 = Request#request{action = BinaryTerm},
            close_if_cast(Term, Request2),
            Pending2 = queue:in(Request2, State#state.pending),
            ernie_server:kick(),
            State#state{pending = Pending2}
        end;
      {error, closed} ->
        ok = gen_tcp:close(Sock),
        State
    end.
  
  process_request(Request, Pending2, State) ->
    ActionTerm = binary_to_term(Request#request.action),
    {_Type, Mod, _Fun, _Args} = ActionTerm,
    Pid = proplists:get_value(Mod, State#state.map),
    case Pid of
  