Make the color bar thinner
Add methods to save/restore groups' state

Also fix a bug in collapseGroup