To grab just a one-window screenshot, press Command + Shift + 4, then when the cross hairs appear, press the space bar. The cross hairs will change to a picture of a camera that can be placed over top of the window to be captured and clicked. The resulting window-only screenshot will appear on your Desktop.