Add a flushInput method to FakeSerial class

I was showing the system to a friend on my mac, and had to do this to make the UI work.