Perturbatio #1 It might be good to have an optional parameter on Flushkeys, perhaps FlushAll, when if not specified, does not flush the first 3 (or however many the mouse uses) elements of the key_hit and key_down buffers.