Fixed Remotery object code being inside the ThreadSampler code.