add window icon to the widget
close logger on quit