Argh... it appears that userPrefs.mel is the culprit. Which has some stuff that I'd rather not reset. I'll hunt through the good and bad code and see if I can figure out what's gone wrong.