Fix table rendering and add pager.