cleanup of mandelbrot