Having ripped out a lot of code and simplified a mess of conditionals, I think this CSV Explorer thingy is getting there…

Tim Sherratt @wragge