Fixed the serve.py script.
The application object must return an iterable yielding bytestrings.
tkinter.Text.debug() now always returns 0/1.
Fixed a regression inroduced in issue #6157.