Add CSS-class 'empty' to empty categories

Also converted some tabs to spaces.