Fix
- Support all language codes in thumbnail restoration
- Ensure settings completeness and type safety during initialization and migration
Changed
- Centralized settings sanitization logic: all settings (content, background, popup) now use the new
sanitizeSettingsutility to auto-fill missing keys, remove unknown keys, and fix type mismatches. This improves robustness and maintainability.