I just discovered a new way of doing a screen capture of a single window on Mac OSX: After pressing CMD+SHIFT+4, hit the space bar.