- Added PRAGMA busy_timeout=5000 to SQLite database initialization to prevent database locked errors.