Prettied up debug interface.
TODO: Handle rest for phase shift+duty resulting in wrapping value. So, implement wrap!