Good job, German-pinball. Your dedication and hard work with the opto and relay boards is beyond all comprehension.
I recently bought one Theatre of Magic and I'm currently surveying the machine. I had a few issues needed cleaning up on the opto board, and I've experienced that dredded trunk freeze too. Things I did to stabilize the trunk was tightening the nuts around its shaft adding a spring washer, also I mind to center the opto-board properly when mounting it (there's a millimeter of tolerans), and I slightly enlarged the notch in the interruptor-wheel for the sensors to pick it up easier. I've also mounted a simple switching relay on the trunk sensor, I've got this Pinbit Auto Eddy board, to cut the sensor while the motor is spinning. Now I'm only waiting to play the hell out of my ToM to see how it works in practice. I have a few concerns about the fact that the Auto Eddy is an automatically adjusting sensor, which would make it prone to a certain time of adjustment right after sensor re-activation when the motor stops spinning.
I understand that your Leon board basically does the same thing, switching the sensor off while motor is in action. So I would very much like if you guys with the Auto Eddy trunk sensor would give your ToM a thorough testing, noting any deviant behavior in game, before and after any game (besides the fact that the trunk won't register any hits while spinning this time). I will today, and I will let you know.
Sorry I forgot to attach a picture of my fix, here it is: