Revert "beginning transmission output moved to preceding thread to ensure it is printed before waiting ouput"

This reverts commit b815441ec1d9e2eee5f328b87d9a08f0533cd396.
Revert "Revert "beginning transmission output moved to preceding thread to ensure it is printed before waiting ouput""

This reverts commit e8ae98ee71083b98c23b14bbae68aa0e58180da9.
Added a fpq_print function for debugging.