Modified layer selection

1) Added function: get_ancestors(layer)
2) Changed layer selection combo box to show layer numbers + names in
tree format.
In addition set selection default to active layer.
3) Set the active layer to the selection in the combo box.