SQLs are now written to file.
Stopped using ALL_TABLES to get row counts because it is unpredictable.
Fixed odds and ends.