animation and save-on-shutdown