Fixed negative time, removed threads