Modified single step to apropriately add/remove the thread from the runqueue