   $("#resetButton").on "click", ->
     currentFrame = 0
     currentModel = currentModel.atVersion(0)
-    #TODO remove all console.log
-    console.log("setupButtonHandlers... will call currentLogger.logWarning")
     currentLogger.logWarning("reset button: on click;")
     resetConsoleContent()
 


  prefixedLog = (prefix) ->
    (text) ->
      #TODO remove all console.log
      console.log(prefix+": "+text)
      editors.console.selection.clearSelection()
      editors.console.navigateFileEnd()
      editors.console.insert(prefix+": "+text)


# Reset console content
resetConsoleContent = ->
  currentLogger.logWarning("resetConsoleContent")
  editors.console.setValue("");
  editors.console.selection.clearSelection();
