main: change dframes to buffer length (closes #5)