Replaced isDone() checks with getRealtime() invocations in Renderer and
ThreadManager.