Included actual PWM outputs and fixed ctrl-c exit to shut down PWM and
socket cleanly.