anchor.diff:  %% send the messages from the current message queue and create a new message queue
   -spec msg_queue_send(State::state()) -> ok.
   msg_queue_send(State) ->
  -    NewMsgQueue = case state_get_raw(msg_queue, State) of
  -        undefined -> msg_queue:new();
  -        MsgQueue ->
  -            msg_queue:send(MsgQueue),
  -            msg_queue:new()
  -    end,
  -    state_set(msg_queue, NewMsgQueue, State).
  +    msg_queue:send(state_get_raw(msg_queue, State)),
  +    state_set(msg_queue, msg_queue:new(), State).
   
   
   %% @doc Gets all the tombstones from the state of the gossip module.
  
positive.code: 
  
  on_inactive({get_values_all, _CBModule, _SourcePid}=Msg, State) ->
     msg_queue_add(Msg, State), State;
  
  
  on_inactive({web_debug_info, _Requestor}=Msg, State) ->
  
negative.code:     % cleanup state
      state_set(status, uninit, State),
      state_set(cb_modules, [], State),
      % TODO: also remove (some) queued messages? (must not remove client requests!)
      ?PDB:delete(range, State),
  
      gen_component:change_handler(State, fun ?MODULE:on_inactive/2);
  
  