Replaced perfmon module with own implementation.
Better handling for groups with no counters.
Added support for lists.