Re-stitching .tra files for OS-dependent setups

plus improve debug, clean up .tras a little.