config widget with some logic simplified.