USF2000 Thompson takes pole in tight fight at Barber