Improve efficiency, finish the script.

I'm satisfied with it. Other than cleaning up some code, which I might
need to do, it accepts any arguments I want it to, and it is more efficient
than it was.