in ActiveLayersTreeNodeUI, changed buttons array to be a hash