I'm glad it looks like it's resolved. It sounds like you have a decent co-worker to talk to the jerk about his behavior. Maybe he was able to be brave enough to do that because he respects you. I would still not trust the man who behaved so badly, though. I think keeping a recorder on is a good idea.
My husband had a different situation, but he was able to use a recorder to fix the problem. He was promoted from assistant manager to manager at another grocery store when two young women at the other grocery store got their boss fired for sexual harassment. The fired manager said he had been set up,b ut you know, they always say that.
When my husband started working at the store, he noticed that the same two girls kept trying to make appointments to talk to him about work conditions, or walking into his office and closing the door just to 'chat.' They also made flirtatious comments and tried to get him to flirt back, and he never would.
My husband refused to ever meet with the girls with his door shut, and he bought a voice recorder and told them he was recording every conversation they had. If they refused to let him record it, he insisted the meeting was over and left his office.
They did not like him using the recorder, but he would just ask, "Why should it bother you? Are you going to say something you'll be ashamed of?" After a couple of months, one of them got fired when she was caught tampering with her co-worker's work schedules, and the other one quit. Then my husband learned from other employees that the two girls had boasted that they were going to get the new manager fired same as the old one, and were betting other co-workers they could get him fired.
I hope this coworker starts treating you right and continues to do the right thing.