This isn't so much of a problem as it is one that I already solved, but I can see someone potentially breaking a few keyboards over this, so I'm saying it anyway.
In the header, the script title doesn't have a built-in character limit, so it can be however long you want. However, in one case, I accidentally deleted the end bracket, which made the entire script into the title. Loaded up DMF, went into the script menu, and it crashed. No problem though, I noticed the error and fixed it... but it still crashed. Even after entirely deleting the script, it still crashed.
Turns out DMF archives script names for faster access, so it was loading the archived one, coming across the name, and blowing up. I had to delete script_index.dat to get everything to work again.
Maybe this could be added to a sticky thread somewhere? I know it's not going to be a common occurrence, but listing all possible reasons for an error (especially weird ones like this) is always welcome.