Unit test improvements and issue #58 resolution

This makes the threadly priority scheduler act more like the java.util.concurrent.ThreadPoolExecutor as far as trying to avoid letting threads die (unless scheduler is shutting down).