save notes every ten seconds while focused, then save them once more on focusout
Merge https://github.com/friendica/red into pending_merge