Autosave all pane items when the window is blurred

Fixes #19