Fix config dialog, detect API version and use new capabilities API
method.