Capture multiple frames

Current code suffers from double event reception on the host, but other
than that, it seems to be ok.