Fixed bugs where if optimizations run and..

Save Changes Yes or No clicked and Cancel clicked on file chooser, log
files deleted. Bug was optimizations in tree when clicked loaded no
results in console. Some bugs exist when Yes clicked for Save Changes.
Merge https://github.com/desmondlun/MOST