Added logging to a GTK window