rest of the way on var renames.
Numerous things..
- Added capture of write-out statistics!
- Much internal variable renaming.
- Renamed DEBUG variable to be more completion friendly.
- Added ability to run function directly from source (as script).