19-05-2013 - fixed media name with " in it.

19-05-2013 - Craig Farrell - fixed media name with " in it. also made it
so name can't just be spaces or a empty string.