Added a dialog to add comments to categories

- The new dialog allows to add comments to categories, for example do
document why categories were "blacklisted".
- The root category is no more displayed inside the tree view. Instead 
of this the name of the root category is display above the tree
- Some code cleanup and other small changes