allow specifying callback for newcmd
live update of cmd widget from cli

not synced; updating cmd widget leaves cli stale
full sync cli and widget

cli updates propagate to widget and vice versa. not perfect yet but
getting somewhere.