I think this finally fixes the deadlock issue...  Through the wonders of
"undefined behavior in C"(tm), the thread was not being signaled, even
though it always worked previously...

I think this also improves performance, and some forthcoming tweaks may
improve performance even more...