Cleaning up appearance of buttons, also vastly streamlining generation of csv