Changed OnFileExportFile in mainmenue to check if export_options is empty.