Finished up the logging system, and ran it through a quick set of tests to assure some robustness.