hmmm - found a bug - this doesn't work when trying to retrieve the text value from the main item:

$value = $list.focuseditem.text

workaround with the alias:

$value = $list.focuseditem.subitems(0).text