debug changes

make it so only debuglevel (not Debug, not debugon ) is used.
debuglevel =-1 is off