Use the standard Mac OS X screenshot utulity, it supports everything: delay, capture decoration, capture region, even the mouse pointer. (cherry picked from commit 85445c88)