1. If the dash MIL is on and you are able to do the kickstand down & clutch release trick to make it flash an 8 code, it is an active fault.
2. Anytime a fault is received, regardless if you see the dash MIL when it was active, it will store the code in the ECM. That code can be later read using a shorting wire even after the intermittent fault has cleared. If you have had 53 fault codes 8's come in and clear on the dash, there will one code 8 stored in the ECM. My first guess is that the stored ECM code does not get reset by disconnecting the battery....not 100% on that though.
It is worth noting, and would make troubleshooting your problem MUCH EASIER, that you have an active fault with the engine off and parked now, not just when riding. It also says that if your fault was initially aggravated by engine vibes that it has progressed and is now giving faults even when off.
Suggestions:
-With the active fault with the engine off would be an ideal time to take the tank off to expose the TPS and connectors, confirm the code 8 is still on with the engine off and just the ignition on, and systematically tap and giggle connectors and the TPS to see if the dash MIL code 8 active fault clears.
-If you are getting a the active fault with the engine off check your battery voltage and connect a charger to raise that voltage to see if your active fault clears. It it doesn't clear with a charger on, there isn't much reason to believe a new battery would fix the problem.
-Turn your ignition on and verify the active fault is still on and is a TPS code 8 fault. Without starting the engine, rotate the throttle to see if it clears. If it does clear it would nearly 100% verify that it is the TPS because it is the only thing changing, and not a connector or ECM. Unfortunately if the MIL doesn't clear it doesn't rule out the TPS.