gfx: Enhance display list debugging a bit with support for dumping stacking levels, etc.

r? @mrobinson