-Fixed the logFolder extra bug;
-Fixed the incorrect sample rate calculation bug: nanos is E-9, not E-6,
duh;
-Some cleanup.