Fix syntax errors in the category tree file.
Implement support for setting package categories.
Improve styling of the search box.