m_flush_kb

This call flushes the keyboard queue and returns control when the queue is empty.