Bug fix for mouse.  Crashes after first round, doesn't write CSV.