save all layer properties and restore them. Progress on image saving.