UIs: input event handlers, menu generation
function performAutoCompleteEdit (selectedTd, menu) {
      UI.utils.emptyNode(selectedTd)
      qp('perform AutoCompleteEdit. THIS IS=' + this)
      this.lastModified = this.createInputBoxIn(selectedTd, '')
      this.lastModified.select()
      this.lastModified.addEventListener('keypress', this.getAutoCompleteHandler(menu), false)
        /* keypress!?
           This is what I hate about UI programming.
           I shall write something about this but not now.
        */
        // this pops up the autocomplete menu
        // Pops up the menu even though no keypress has occurred
        // 1 is a dummy variable for the "enterEvent"
      this.getAutoCompleteHandler(menu)(1)
    }