Truebeliever, I think thats a bit of an exaggerated response. Yes, many single female travellers visit Morocco, but they do have concerns that should be addressed (speaking as one myself).
Moroccomania, Morocco is safe for lone females, but obviously use the same guidelines you would use in ANY foreign country: dont walk about by yourself in dark or deserted areas, dont tell people where you're staying, dress modestly.
Most importantly, relax and smile. You may receive unwanted attention from local males, but while it might become annoying - it is rarely threatening. Just be firm.
Definitely come to Morocco - you'll have a great time.