Update to latest ui API; also elaborated one of the UI comments.