anchor.diff:  log_modules() -> [index].
   
   body() ->
  -    wf:info("RENDER!"),
  +    wf:info(?MODULE,"RENDER!", []),
       {ok,Pid} = wf:comet(fun() -> chat_loop() end), 
       [ #span{ body = wf:f("'/index?x=' is ~p",[wf:qs(<<"x">>)]) },
         #panel{ id=history },
         #textbox{ id=message },
  +      #button{ id=send, body= <<"Chat">>, postback={chat,Pid}, source=[message] },
         #button{ id=bin, body= <<"Binary">>, postback={binary,{raw,Pid}} },
  -      #button{ id=send, body= <<"Chat">>, postback={chat,Pid}, source=[message] } ].
  +      #button{ id=h_bin, body= <<"Binary with header">>, postback={binary,{headered,Pid}} },
  +      #button{ id=bin_text, body= <<"Send text from browser">>, postback={send_text, "from browser test"} } ].
   
   event(init) ->
       User = wf:user(),
  
positive.code:             wf:insert_bottom(history, Terms),
              wf:wire("document.querySelector('#history').scrollTop = document.querySelector('#history').scrollHeight;"),
              wf:flush(room);
          Unknown -> wf:info("Unknown Looper Message ~p",[Unknown])
      end,
      chat_loop().
  
negative.code:          _ -> wf:redirect("/static/spa/spa.htm") end;
  
  event(login) -> login:event(login);
  event(continue) -> wf:info(?MODULE,"OK Pressed");
  event({send_text, Text}) -> 
      wf:info(?MODULE,"Send text: ~p",[binary_from_browser]),
      wf:wire("ws.send(enc(tuple(atom('binary'),'" ++ Text ++ "')));");
  event({binary, {raw,Data}}) ->
      wf:info(?MODULE,"Binary: ~p",[Data]),
      <<"just raw binary">>;
  event({binary, {headered,Data}}) ->
      wf:info(?MODULE,"Binary with header: ~p",[Data]),
      #binary{ id = 4294967295, type = 255, app = 255, version = 255, from = 4294967295, to = 4294967295,
          ?MIN_TEMP = -340277175.0000001, ?MAX_TEMP = 43857.40000004364,
          meta = <<"meta">>, data = <<"DAT">> };
  event({binary, Data}) -> 
      wf:info(?MODULE,"Anybody binary: ~p",[Data]),
      Data;
  event(Event) -> wf:info(?MODULE,"Event: ~p", [Event]).
  chat_loop() ->
      receive 
          {message, Username, Message} ->
  