use a defaults object
add slider for delay + clear timeout on slider change
tree goes into tree.js that defines a tree object