Various small updates (debugging).

Incomplete as yet, fixed some things in d_pwm.c that were causing kernel
blowout after attempting to unload the module.