+1 on what Peacefulgary said. Jc06 you did the right thing by keeping a locked barrier between you and him. The way you've described him he might very well have had drugs of some sort in his system. If you had gotten out of the car someone would have ended up injured. As it sits no one is, a clear sign of good outcome.
Gaily bedight, A gallant knight In sunshine and in shadow, Had journeyed long, Singing a song, In search of El Dorado