mainwnd: use new Util class functions for list manipulation.