Energetic electrons and plasma waves associated with a solar type III radio burst