defringe: add some safety check, use float instead of double at one spot, change possible+default params slightly