Window capture may include border now.
Code structure is kind of ugly, a bit more function chaining than I'd
like.