Stateful rational resampling appears to be working, even with single element inputs. It's a real mess, but I'm commiting before I mess antyhing up.