added more robust mutexes similar to varnish internals
switched all mutexes over to the new
varnish-like provided version for beter
visibility and control.

switched maximum potential thread pool
size to static to avoid issues w/ realloc().
max/min are still configurable.
updated docs
minor refactoring of thread rebalancing