Pass in the listbox, not just the comp container
Add a logmsg utility function