Improve logging, upgrade messytables