update gui, add widgets and signal/slots