Miscellaneous fixes.

- Changed threadpool to use a SynchronousQueue.
- SpaceUtil.wipe now used to flush space queues.