Fix handling of state_insert not being defined.
Fix make_resampler's filter width for interpolation.