Fixed printing out jobs and added an additional check to make sure the same thread is not added in a job again if it is already in a job