Cleanup GUI and config