ffwizard-berlin: refactor iwinfo code