Fix up confusion between XFlush() and XSync().
Fix up confusion between XFlush() and XSync().

Obvious in hindsight of course: XFlush() flushes the output buffer,
but doesn't wait for processing of those requests to complete, so
using it as a "barrier" of sorts when switching error handlers isn't
very effective.

zevweiss/enthrall