added htmlEntities function to make the value in the input field display properly--still needs more fixes
fixed a buggy reference of the View object in treeEditView
added back the add-sub-tree-from-row function that i accidentally removed