 
   create: =>
     if @debug
-      console.debug '@create'
+      console.debug 'notesManager.create'
     @show()
     insertion_position = @getInsertionPosition()
     top = insertion_position[0]


  getInsertionPosition: =>
    if @debug
      console.debug '@getInsertionPosition'
    # We want to show the edit box somewhere on the screen, but not outside the image.
    scroll_x = $('image').cumulativeScrollOffset()[0]
    scroll_y = $('image').cumulativeScrollOffset()[1]


  updateNoteCount: =>
    if @debug
      console.debug 'notesManager.updateNoteCount'
    if @all.length > 0
      label = ''
      if @all.length == 1
