anchor.diff:  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   cmd(GUI,C,As) -> cmd(GUI,[{C,As}]).
   
  -cmd(_GUI,[]) -> 
  +cmd(_GUI,[]) ->
     {'EXIT',{foobar,St}} = (catch erlang:error(foobar)), ?LOG({empty,St});
   cmd(GUI,CAs) ->
     GUI ! {self(),CAs},
  -  receive 
  +  receive
       {GUI,{reply,Reps}} -> filter_reps(Reps,CAs)
     end.
   
  
positive.code: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  waiting_handshake(St = #st{gtk_port=Port}) ->
    receive
      {{GtkPid,handshake}, []} -> 
        link(GtkPid),
        idle(St#st{gtk_pid=GtkPid});
      {Port,PortData} ->			%from the port
        waiting_handshake(handle_portdata(St, PortData));
      {'EXIT',Port,Reason} ->                 %port died, us too
        die({port_died,Reason});
      quit -> 
        die(quitting)
    after 
      ?BORED -> waiting_handshake(bored(waiting_handshake,St))
    end.
  
  
negative.code:   end.
  
  initDBG() ->
    process_flag(trap_exit,true),
    register(gtknode_dbg, self()),
    Handler = spawn_link(fun initDBGH/0),
    waiting_handshake(#st{handler_pid=Handler, name=gtknode_dbg}).
  
  initDBGH() ->
    register(gtknode_dbgH, self()),
    loopDBGH().
  
  loopDBGH() ->
    receive
      {gtknode_dbg, {signal, Sig}} ->
        ?LOG({signal,Sig}),loopDBGH();
      {gtknode_dbg, {reply, Rep}} ->
  