Added GUI and logging