       end
     #return program:
     """
-    u1 = UDPSocket.new
-    u2 = UDPSocket.new
-    u2.bind("127.0.0.1", #{listen_port})
+    $u1 = UDPSocket.new
+    $u2 = UDPSocket.new
+    $u2.bind("127.0.0.1", #{listen_port})
     # Main tempo cueing / UDP broadcasting thread
     live_loop :down_beat do
       #{sync_to_network}

    live_loop :beat_pattern do
      sync :down_beat
      cue  :beat1
      u1.send "#{Blockytalky.RuntimeUtils.btu_id},$tempo", 0, '224.0.0.1', #{listen_port}
      #{beat_signaling}
    end
    u3 = UDPSocket.new
    u3.bind("127.0.0.1", #{eval_port})
    live_loop eval_loop do
      msg = u3.recvfrom(65655)
      eval(msg[0])
    end
    """
  end

      name -> #Ruby code to listen until the parent sends up a sync message
      """
      loop do
        msg = $u2.recvfrom(2048) # "[hostname,tempo[..args..]]"
        msg_payload = msg[0].split(",")
        host=msg_payload[0]
        t=msg_payload[1]
