more comments
added legend
tree window resize handler
add programmatic zooming and zoom widget