fixed a bug in startup, but it introduces a memory leak that I don't know how to close. Leak is one MkvsynthFrame per createOutputBuffer that gets called.