A round of updates to fix the issue with lists

A little more structured way of addressing the issue, plus adding
styles for tables.