How to clean up old application folders from prior ROM?
If you're changing rom (I.e. from AOKP to CM10) you should always do a factory wipe, data on the sdcard will still be 

I'm amazed it booted if you didn't do a factory wipe before flashing a different rom