make sure libevent threading prototypes are always available
added some docs on the horrors of threads
addl autoconf tweaks and testing, testing, testing