     @message_bg_fill_style = '#000000'
 
     @computeOutlines()
+    @computeProgramLabels()
 
     @sprites = []
     @anim_complete_callbacks = []

    @ctx.fillRect(0, 0, @cnv.width, @cnv.height)

    @renderGrid()

    @ctx.restore()



        was_in = is_in

  computeProgramLabels: () ->
    assigned = {}
    @program_labels = []

    d = Math.max(@game_state.Hi, @game_state.Wi)

    for i in [0..2*d]
      for j in [0..i]
        x = i-j
        y = j

        if @game_state.level[x]? and  @game_state.level[x][y]?
          b = @game_state.level[x][y]
        else
          continue

        if b.type == 'program' and not assigned[b.id]
          @program_labels.push(
            x: x*@block, y: y*@block, id: b.id
            letter: @label_letters[@program_labels.length]
          )
          assigned[b.id] = true

################

  render: (t) ->
