anchor.diff:  	    ok
       end.
   
  -%% Here init_it/6 and enter_loop/5,6,7 functions converge
  +%% Here the init_it/6 and enter_loop/5,6,7 functions converge
   enter(Module, Opts, CallbackMode, State, Data, Server, Actions, Parent) ->
       %% The values should already have been type checked
       Name = gen:get_proc_name(Server),
       Debug = gen:debug_options(Name, Opts),
  -    PrevState = make_ref(), % Will be discarded by loop_event_actions/9
  +    P = Events = [],
  +    Event = {internal,initial_state},
  +    %% We enforce {postpone,false} to ensure that
  +    %% our fake Event gets discarded, thought it might get logged
       NewActions =
   	if
   	    is_list(Actions) ->
  
positive.code: 		      error,
  		      {undef_state_function,{Module,State,Args}},
  		      Stacktrace,
  		      Debug, S, Q);
  		[{Module,handle_event,
  		  [Type,Content,State,Data]=Args,
  		  _}
  
negative.code: 		{lists:reverse(P1, Events),[]}
  	end,
      %% Place next events first in queue
      Q = lists:reverse(NextEvents, Q2),
      %%
      NewDebug =
  	sys_debug(
  