Contains a number of improvements from @erinking in #15.
Same as the last version, except with the -loops flag for limiting parrot run time.
-loops
Well, it works, kind of.