Welcome, timr. Your program seems pretty nifty to me; the only kind of improvements I can imagine would probably require undue complexity (along the lines of validating homophones that occur in a recognised dictionary, in order to obviate the kind of only-partial Spoonerism you drew attention to). It still seems a clever bit of programming to this simpleton, and personally I don't care a dying fluck for whatever kind of language you care to use, fwiw!

Note to others on this board: responses thus far seem to me extremely rude and ungracious to a new poster whose question remains unaddressed. I suggest you get over your own obsessions, or shut up.