@911jason: I recall personally giving up on the margins, because it's such a PITA, and I hate Java with a fiery passion.
At one point, I made some attempts at easing/semi-automating the porting of an existing, working bytecode patch over different FW versions, but that basically got nowhere fast, in part because of the aforementioned "I suck at Java" issue, and in part because that was a time during which Amazon was putting out new FW like rabbits in a rut, and getting increasingly annoying to deal with.
And that was approximately three hard-drives ago, so I wouldn't even know where to find that bit of scripting

.