Refactor section header code
Fix bug where constraining the list to one category would lead to missing category headers
Hide redundant category headers when the list is constrained to one category
Avoid outputting time tag for task due date if task has no due date