Added primitive debug printing to allow printout from dprint in actors to a log file.