Cool man, works much better.
Edit: Never mind
Though you can change one thing:
if ($did == 25) { unset %underline.* | set %underline.on }
if ($did == 26) { unset %underline.* | set %underline.off none }
Instead of using variables to indicate whether a radio is checked, unchecked, or whichever is checked, you can use $did(name,id).status to do it without the use of variables.