Cleanup and completion of table view.