put debug statements in a block, trim some unnecessary ones

- also optimize how the render method is invoked on the @blocks array
Merge remote-tracking branch 'mojavelinux/debug-whisperer' into mojave