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


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


  show: =>
    if @debug
      console.debug 'notesManager.show'
    $('note-container').show()
    return


  hide: =>
    if @debug
      console.debug 'notesManager.hide'
    $('note-container').hide()
    return


  find: (id) =>
    if @debug
      console.debug 'notesManager.find'

    for item in @all
      return item if item.id == id
