Added debug logging to mapGenerate Thread.