Fixed tests and unique socket name
Save config widget values only if initialized