anchor.diff:  -export([stop/0, start/0]).
   -export([start/2, stop/1, prep_stop/1]).
   -export([help/0, h/0, list/0, l/0, show/0, s/0, show/1, s/1, check/1]).
  +
   -ignore_xref([{h, 0}, {l, 0}, {'prep_stop', 1}, {s, 0}, {s,1}, {stop, 0},
                 {check, 1}, {start, 0}]).
   
   -define(RANDOM_MAX_SIZE, 999999999999).
   
  +%% @doc Start up the etorrent application.
  +%% <p>This is the main entry point for the etorrent application.
  +%% It will be ensured that needed apps are correctly up and running,
  +%% and then the etorrent application will be started as a permanent app
  +%% in the VM.</p>
  +%% @end
   start() ->
       %% Start dependent applications
       Fun = fun(Application) ->
  
positive.code:     %% Etorrent
      application:start(etorrent, permanent).
  
  start(_Type, _Args) ->
      PeerId = generate_peer_id(),
      {ok, Pid} = etorrent_sup:start_link(PeerId),
      {ok, Pid}.
  
  stop() ->
      ok = application:stop(etorrent).
  
  prep_stop(_S) ->
      io:format("Shutting down etorrent~n"),
      ok.
  
  stop(_State) ->
      ok.
  
  %%--------------------------------------------------------------------
  %% Function: list() -> io()
  %% Description: List currently active torrents.
  %%--------------------------------------------------------------------
  list() ->
      A = etorrent_torrent:all(),
      {DownloadRate, UploadRate} = etorrent_rate_mgr:global_rate(),
  
negative.code:     io:format("Rate Up/Down: ~8.2f / ~8.2f~n", [UploadRate / 1024.0,
                                                  DownloadRate / 1024.0]).
  
  %% @doc Show detailed information for Item.
  %% @end
  show() ->
      io:format("You must supply a torrent Id number~n").
  
  %% @doc Show detailed information for Item.
  %% @end
  show(Item) when is_integer(Item) ->
      %{atomic, Torrent} = etorrent_torrent:select(Item),
      case etorrent_tracking_map:select(Item) of
  