Fixed logger.

> Holy geez! Concurrent access anomalies!
> Also now uses time stamps at beginning of file