substantial work on extract selection.  Just need the actual rect for
use on the command line.