correct order of commands

Improved order of commands. First the autosave should be disabled, then the world should be saved again (if this is not done automatically on disabling autosave).
When finished activate autosave again and save all pending changes (if these are not saved automatically).

This does not mean all of the actions are necessary, what I'm not sure of, but if they are necessary they only make sense in this order (at least in my opinion).