I think the bits are in good enough shape they can go in now. I just committed the port to svn trunk, in a single commit, yay!
Many thanks to you, richard, seguer and the other reviewers for the great feedback and suggestions. What got committed is certainly WAY better than what I submitted initially. Now the real fun starts :))