fixed some bug.
try to remove noise. use named fifo instead of deque. so m_frames can be other value. eg 128