Fixed a memory leak in the zip file handling routines.

Also cleaned up some comment cruft
Built out the performance recording settings

The performance recorder now respects the settings from the audio tab in
the program settings dialog.