Well, programming an xgauge is the easy part

Determining what to put in there is the other bit. I think programming is explained quite clearly in the manual. From main you choose:
MORE>MORE>MORE>XGAUGE
Select the gauge you want to edit and press the button referencing edit.
You will then see the different items that are listed on my webpage. You just have to take your time and input all the numbers (correctly!) that are in there.
After you've saved the gauge you can choose to display it in the gauge screen.
On what's available, it is quite easy. Basically everything you can read out through the OBD port can be displayed. However, I think there might be an issue with some commands as they send back long lists of information. I don't think the scangauge is happy with that.
What is shown on my page are the normal PID's that are available on the 2.2. See this as the publically available information. This might be different for the turbo, I don't have any experience with that ECU. There are also vendor specific commands that you can use to retrieve information. However, it is generally pretty difficult to find these out.
For the fuel trims, that is a publically available item as you can see in the list, pid 6 and 7. If you search a bit, you will find the value it returns (see
http://en.wikipedia....ki/OBD-II_PIDs). You can read these from the ECU and do some math. I emailed scangauge support for the exact specs for all the fields. If you know them it's just a matter of formulating the strings and see if it works. But be preparred for some low level hex and bit shifting
On the torque bit, I don't have much faith in the generic HP display item. From what I've seen the scangauge calculates the amount of fuel the engine is going to inject, based on the same parameters the ECU does. It than calculates the amount of energy in the fuel injected which is given back as the HP display item (I might be a bit off, but I guess that is the way it works).
I don't think you can reference multiple values in an xgauge. You would need RPM and HP to calculate torque based on this HP value...
Mark