For the TPS reset, take a read here:
As great as the software is, the site is pretty awful.
The instructions for the reset are here, search for this section: "For the Reset adaption, if required, you have two options, example of Triumph Keihin ECU:"
It talks you through the official procedure.
You'll see it referred to all over the place as the '12 minute idle' or '12 minute reset', etc