even more changes

added thread_pool class, using the Windows implementation (boost has no
support for thread pools)
statistics shown at the end
all clients have "states"