Thoroughly enjoyed San Diego, stayed at the Scripps Inn in La Jolla which I can recommend but I've got a horrible feeling its gone more upmarket than it was when I stayed there 20 years ago (with the commensurate price hike)!
San Fran is a great city and re. safety, you just need to steer clear...