I found that for some reason if you resign that mainmenu with certain resigners like the one built into Serenity it will give you the dirty disk error. Try resigning your mainmenu with Entity that worked for me. I was having the same problem at first.