Some minor touchups on export to csv