fix segfault: oops forgot to initialize CoreVideo callbacks, TODO: DebugMessage