Added print and debug function to map generation thread