Refactoring: separate conversion of raster coordinates to complex plane and palette from actual Mandelbrot computation.