Tweak parameters
More changes to handling of file closure, this should be robust and consistent now.
Improve SaveAs behavior, it was causing background updates to run twice when the new file was loaded.