Autosave on correct thread when app backgrounds

Fixes #441