Not sure what to do.

I have a coworker who was very nice at first, so I quickly became friends with him. Now he has this huge crush on me and is making me very uncomfortable. Before the past few days, he would just tell me how pretty I am and that I should go out with him. After not taking no for an answer, my other coworker friend (who is very large and scary) tried telling him to back off and stop. Now that he's finally getting that I won't date him, I'm getting texts from him calling me ugly and other obscene things. I feel like this guy will eventually snap and actually hurt me. I've alerted my boss, who is trying to help, but this guy knows where I live and I'm scared that he's going to do something... any helpful advice on what to do?