Change the way debugging stores the flags.

So there is no need for NM.
Remove most of the NM parameters.