Fixed deadlock in capture callback.
Fixed capture test to check all notifications.
Added better debug messages to capture test.

3 files changed