Fixed several closure errors that were interfering with edit mode when multiple trees were created. Also was able to make the main task editable by dragging a primitive onto the bottom of the main task.