shell: Save and restore frame geometry across restarts (not just window size)
Fixes #1006