Is there a better way to achieve the "raising one window raises all windows" goal? I looked at FvwmAuto but I don't think it does what I want.
Depending on your needs you might find FvwmProxy to be a nice module. Also one thing that you might consider is to replace the Raise builtin with a function doing the logic before the raising, and not rely on events to do it. (But that won't work if the application raises the windows them selves.)
/Viktor