Switch argument handling for loops to usual length caching style.
Add support for multiple sets of arguments to s/S.  Untested.