Disablespeedadjust fix
This fixes DisableSpeedAjdust
in SOCs being treated like an integer value instead of a boolean. As in, it requires a number or constant, and doesn't know what you're on about if you write "True" or "Yes" or "T" or "Y" (all of which would be the same thing as setting 1).
Also threw in the smallest cleanup while I was at it, nothing significant extra here.