Well, since you've already rejected the sensible option of remap a key to reset the video on command, then how about unplug/replug the DVI-D cable at the iMac? Any joy from that?

Cheers