anchor.diff:  %% ====================================================================
   event(init) ->
       gui_jq:bind_key_to_click(<<"13">>, <<"update_button">>),
  +    gui_jq:hide(<<"ok_message">>),
  +    gui_jq:hide(<<"error_message">>),
   
       {ok, Pid} = gui_comet:spawn(fun() -> comet_loop(#?STATE{}) end),
       updater:set_callback(fun(Event, State) -> update_progress(Pid, Event, State) end),
  
positive.code: 
      case updater_state:get_stage_and_job(State) of
          {?STAGE_IDLE, _} ->
              case updater_state:get_error_stack(State) of
                  {[], _} -> ok;
                  _ -> onepanel_gui_utils:message(<<"error_message">>, <<"An error occurred during update process.">>)
              end;
          _ ->
              gui_jq:hide(<<"update_panel">>),
  
negative.code:                 State#?STATE{stages_count = NewSCount};
  
              {set_abortable, true} ->
                  gui_jq:prop(<<"abort_button">>, <<"disabled">>, <<"">>),
                  gui_comet:flush(),
                  State;
  
              {set_abortable, false} ->
                  gui_jq:prop(<<"abort_button">>, <<"disabled">>, <<"disabled">>),
                  gui_comet:flush(),
                  State;
  
  