Added setting for "hide empty catergories"

Hides categories from listings if they are empty.