How safe is ordering a guitar online,in terms of shipment/breaking?

The only time Iv ever ordered was when I started playing,and the thing came with the headstock completely broken off..Needless to say I had my money refunded.
Im planning on getting a Tele soon and I want to get it from Musicians Friend,but I dont want it to get damamged.Anyone had bad expiriences?
What doesn't kill you,only makes you pissed off.
I bought my Agile from rondomusic and it came in perfect condition, no bad experiences with me. But I've never ordered from musiciansfriend
"My jedi powers are far more superior than yours"
Ordered my Valveking and various other things from Musiciansfriend with no problem at all.
musicians friends is really great about their shipments, they'll even replace it if it does get damaged in shipping. everything i ordered from them for djing always showed up in pristine condition,