Write the Settings.ini file first, not last, to allow for incomplete exports
DESIRED RESULTS: The "Settings.ini" file should be written at the BEGINNING of the "Save MI Scene" process, before any individual frame data is exported.
WHY: Suppose you planned to export 1,000 frames, but after 200 frames you decided to Cancel the export operation, and render just those first 200 frames. There would be no Options.ini file, so you would have no control over the rendering parameters, and you might not even be able to render anything at all.