Added timestamping to written logfiles. Closes #104.