Don't worry too much about it, bugs happen. From what I've found while fixing bugs, you have two main types that occur over and over again, which you can prevent by developing some good habits:Ok so I've been reading some of the messages and I'm disappointed to have missed so many bugs.
* inconsistent variable casing, sometimes variables are all lowercase, sometimes they are camelCased, eg "namecorruption" vs "nameCorruption". Some of the bugs are because the variable is written in one casing in one part of the code and a different casing in a different part of the code.
* inconsistent naming conventions, some of the transformation variables are "nameTF" and some are "nameTFF". Some of the events are "nameTFEvent" and some are "nameEvent". Some of the bugs are due to you using both names, eg "paisleytfevent" is used once when the correct variable name is "paisleyevent"
Pick one style of variable casing and make all variables use that style (including changing all existing variables to fit that style), and you'll be less likely to make a mistake in casing going forward. This will break any existing saves, but its worth it for the headaches it will prevent. I suggest camelCase because it is generally easier to read, but use whatever works best for you.
For naming conventions, I suggest a similar approach: pick something that works for you and use it everywhere.