Cleanup of table widgets