More work on renderer, add tables.

Seems to work pretty well now. Needs some code cleanup in
list-like/table renderer.