OUCH! I hope you're feeling better, Wings. And thanks for the safety reminder for all of us.
Recently, I've started pressing in the bobbin threading button when I thread the needle or clean under the presser foot. That way, I have the light from the machine, but without the worry of accidentally stepping on the pedal.