improvements to the CategoryPanel