Debugging

Check that viewer is open before trying to send live data to it
In FPGAControls.cs: only create new file for new sideband if there is going to be another sideband (duh)
Added event handler for refresh button

Also started changing to passing myFile array instead of filename array
Changed to pass actual data files instead of just filenames
Bugfixing new changes
Revert "Changed to pass actual data files instead of just filenames"

This reverts commit 25ef6475b90c99f0f9dd1f0ce1aa7f61c936d792.
Successfully appending files instead of overwriting
Grey out stop/pause buttons when experiment is stopped
Fixed greying out buttons (except when experiment finishes). Flush & close file at the end of experiment for non-windowed spectra
Fixed writing correct AOM start frequency to files
Implemented threadsafe methods for finishing experiment
Added reset into start/stop methods
Made sending live data to the viewer threadsafe
Fixed bug with viewer form closing

(Needed to set up event handler AFTER constructing form)