Active layer getter now ignores groups.

TocLayerManager previously struggled with groups
when retrieving the active layers. Now it simply
ignores them.