I always find playing around with TF generators fun, and this was definitely no exception!
The fact that your program remembers the current state of each character and transforms that is definitely a feature I don't think I've seen in a TF generator before.