Fixed issue #2 found by Kasi-Reddy.

Fixed issue where the DC needed to be released or else data-capturing
would fail. Added support for mapping external windows using the window
handle instead of the PID.