Attempt to fix the infinite running of the test suite on MS Windows due to the flush() implementation.
The GUI interpreter thread's queue object task_done() method is now called to properly clear the queue.
Authored by: bugman 2011-09-20
Parent: [r14706]
Child: [r14708]