Added SQLServer export to GUI
Added custom format writing to CSVFileExport
Other misc cleanup