fix implicit global in setup(); make it impossible to click save as .csv link more than once