anchor.diff:  		timer,
   		procinfo_menu_pids=[],
   		sel={[], []},
  +		right_clicked_pid,
   		holder}).
   
   start_link(Notebook, Parent) ->
  
positive.code:     Timer = observer_lib:interval_dialog(Panel, Timer0, 1, 5*60),
      {noreply, State#state{timer=Timer}};
  
  handle_event(#wx{id=?ID_KILL}, #state{sel={[_|Ids], [ToKill|Pids]}}=State) ->
      exit(ToKill, kill),
      {noreply, State#state{sel={Ids,Pids}}};
  
  
  handle_event(#wx{id=?ID_PROC},
  	     #state{panel=Panel, sel={_, [Pid|_]},procinfo_menu_pids=Opened}=State) ->
      Opened2 = start_procinfo(Pid, Panel, Opened),
      {noreply, State#state{procinfo_menu_pids=Opened2}};
  
  
negative.code: set_focus([Old|_], [New|_], Grid) ->
      wxListCtrl:setItemState(Grid, Old, 0, ?wxLIST_STATE_FOCUSED),
      wxListCtrl:setItemState(Grid, New, 16#FFFF, ?wxLIST_STATE_FOCUSED).
  
  rm_selected(Pid, {Ids, Pids}) ->
      rm_selected(Pid, Ids, Pids, [], []).
  
  rm_selected(Pid, [_Id|Ids], [Pid|Pids], AccIds, AccPids) ->
      {lists:reverse(AccIds)++Ids,lists:reverse(AccPids)++Pids};
  rm_selected(Pid, [Id|Ids], [OtherPid|Pids], AccIds, AccPids) ->
      rm_selected(Pid, Ids, Pids, [Id|AccIds], [OtherPid|AccPids]);
  rm_selected(_, [], [], AccIds, AccPids) ->
      {lists:reverse(AccIds), lists:reverse(AccPids)}.
  
  
  %%%%%%%%%%%%%%%%%%%%%%%%%%%TABLE HOLDER%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
  