It's currently possible to export submission to CSV without selecting any fields. This will result in a CSV filled with PHP errors (the for loops on line 540 and 561 get empty arguments). It would be nice if this was handled a little more gracefully. For example, disable the button unless at least one field has been selected, show an error message if you try to submit without selecting fields, etc.