Collapsed group popup bug fix for item enabling

A thank you to angerman for pointing out the bug.
Added explicit zlib license
Added enabling/disabling of groups, entire bar