Remove commented <thead>
Don't display more than four dates per category
Refactor