Enable/Disable GUI on Connect/Disconnect.