I want the web app to restore app state from IndexedDB on startup, then sync with the server/SSE in the background as needed. Right now it looks like only smaller UI state is persisted locally, while the main app state is rebuilt on refresh.