working save and save as with saving and restoring of world configurations