Made use of synchronized text writers consistent between the AbstractCodeParser and DataRepositoryStatistics.
Replaced use of ErrorLog in ParseExpression with a call to LogUnknown().