Initial work on the batches tab.