Added the ThreadPauser, making pausing more efficient.