Backport v3 CategoryTree class
Update some boxes to use Bootstrap styling