Added logger for GUI and corrected progress window