Add hidden_category_flags
Remove old, invalid associations
Keep track in the server of which categories are displayed/hidden