anchor.diff:      State = #state{config=Config, bitmap=Bitmap, board=Board, mode=screensaver},
       Frame = wxFrame:new(Server, ?wxID_ANY, "MinesweepErl", []),
       refresh(State),
  -    timer:send_interval(?MOVE_INTERVAL, move),
  +    schedule_move(State),
       {Frame, State#state{frame=Frame}};
   do_init([Server, {Rows, Cols, _Mines}=Config]) ->
       Frame = wxFrame:new(Server, ?wxID_ANY, "MinesweepErl",
  
positive.code:   when X < 0; Y < 0; Rows < Y div 16; Cols < X div 16 ->
      {noreply, State};
  handle_event(#wx{event = #wxMouse{type = MouseEventType, x = X, y = Y}},
               #state{board=Board}=State) ->
      Fun = case MouseEventType of
                left_up   -> step;
                right_up  -> flag;
                middle_up -> question
            end,
      {Events, NewBoard} = board:Fun({Y div 16, X div 16}, Board),
      lists:foreach(fun(E) -> draw_event(E, State) end, Events),
      refresh(State),
      {noreply, State#state{board=NewBoard}};
  handle_event(#wx{event=#wxKey{keyCode=$ }}, State) ->
      do_move(State);
  handle_event(#wx{event=#wxKey{keyCode=$F}}, State) ->
      solver_event(flag_apparent_mines, State);
  handle_event(#wx{event=#wxKey{keyCode=$S}}, State) ->
      solver_event(uncover_safe_areas, State);
  handle_event(#wx{event=#wxKey{keyCode=$R}}, State) ->
      solver_event(uncover_unsafe, State);
  handle_event(#wx{event=#wxKey{keyCode=$N}}, State) ->
      newgame(State);
  handle_event(#wx{event=#wxKey{keyCode=_KC}}, State) ->
      {noreply, State}.
  
  %% Callbacks handled as normal gen_server callbacks
  handle_info(move, State) ->
      do_move(State);
  handle_info(Msg, State) ->
      io:format("Got Info ~p\n", [Msg]),
      {noreply, State}.
  
negative.code: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %% Local functions
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  
  create_and_draw_board({Rows, Cols, Mines}, Bitmap) ->
      Board = board:new(Rows, Cols, Mines),
  