I guess this is a forgotten feature of the MacOS, but you know, if you hold the command (apple) key down and click on a window's menu bar, you can move it around without bringing it to the front, I think it also gives the window focus, but I'm not too sure (I'd try, but I'm not on an OSX machine...