rename to grab_frame.cpp and get Uint8Array from window object