Draw the Mandelbrot set, with options for multithreading.