Bunch of different random refactorings, around 1- javascript function naming and organization, trying to make some code more modular and making a parameterized function for refreshing elements on each draw, 2- adding in the extra 2 grids for displaying default and compiled options, and 3- computing the options in such a way that the same functions could be used to calculate what goes in the box and what is passed to the tree drawing function
Merge branch 'master' of https://github.com/cssetian/generic-tree-drawer

merge of comments into refactoring