More explicit debug log
Fix impulse with dimmer. closes #51