added logger to GUI