Hi.
First of all you shouldn't have any worries about coming to Morocco, i'm sure it will a pleasurable and memorable experience for you. I immigrated to Tangiers, Morocco last year from London and have travelled up and down the country and found it to be more safer than some places in Europe. Tourists are only hassled by hustlers trying to sell you stuff, and i've always noticed that moroccans have a great respect for foreigners that visit their country, it makes them feel slightly proud. Most cautions that you take in America or Europe will in most cases apply when visiting Morocco, for example not travelling in black market taxis or transport, i would definatley advise against that, or walking around in empty areas at night.
But like I said Morocco is a very friendly place for tourists, and becoming more popular with visitors every year.
Anyway hope you enjoy your time here.