fixed some things, need to fix rewind, add a/v sync, fix monitoriing