These should be global vars like LogErrors.