anchor.diff:  			end,
   		    reply(From,Reply),
   		    Imported = remove_imported(Module,State#main_state.imported),
  -		    main_process_loop(State#main_state{compiled = Compiled,
  -						       imported = Imported});
  +		    NewState = State#main_state{compiled = Compiled,
  +						imported = Imported},
  +		    %% This module (cover) could have been reloaded. Make
  +		    %% sure we run the new code.
  +		    ?MODULE:main_process_loop(NewState);
   		{error,no_beam} ->
   		    %% The module has first been compiled from .erl, and now
   		    %% someone tries to compile it from .beam
  
positive.code: 	{remote,load_compiled,Compiled} ->
  	    Compiled1 = load_compiled(Compiled,State#remote_state.compiled),
  	    remote_reply(State#remote_state.main_node, ok),
  	    remote_process_loop(State#remote_state{compiled=Compiled1});
  
  	{remote,unload,UnloadedModules} ->
  	    unload(UnloadedModules),
  
negative.code: 		    Compiled = add_compiled(Module, File,
  					    State#main_state.compiled),
  		    Imported = remove_imported(Module,State#main_state.imported),
  		    NewState = State#main_state{compiled = Compiled,
  						imported = Imported},
  		    %% This module (cover) could have been reloaded. Make
  		    %% sure we run the new code.
  		    ?MODULE:main_process_loop(NewState);
  		error ->
  		    reply(From, {error, File}),
  		    main_process_loop(State)
  