More DB cleanup, and some interaction improvements

  * In list view, don't allow grandchildren
  * Made editing style match non-editing style
  * Auto-resize the textbox while editing