add new_frame conditional variable
use new_frame condition variable to signal grabber