Rather than calling check() on backedges, inline code to check the
flags.  Also, check flags on recursion and add some comments explaining
why we do that.  Net result: 40% speedup on my version of mandelbrot,
at least on one machine.