minor changes to Yann Esposito's 2d mandelbrot code
make ownership clear