ui.tools.listener.history: cleanup and minor bugfix.
yaml: accidentally these lines.