This set of changes fixes root/child message cycling and ensures all database operations happen within a `tea.Cmd`