Fixed a few issues with the new GUI

- Uncategorized showed all packages instead of just uncategorized
packages
- Categories are shown even if they have no items