Added more useful debugging print statements
added more useful debug print statements, debug dump file for 5 thread
failure