applets/notes: Save/restore scrolling and cursor position
Makes scrolling position persistent, and takes some care to
- delay restoring until the text is laid out,
- throttle storage a little, so that we don't use too much I/O.
Edited by ivan tkachenko