UI and bug fixes

Fixed a few bugs (deleting a category will update the items to hold a
0/none category id, deleting an item will update the lists to no longer
hold that item, etc). Tweaked the UI to have buttons to show each
section rather than each section being shown at the same time.