the infrastructure surrounding connection points
outputs to trace output, also added a bunch of STG_ codes so that they're there