Control flickering by only clear()ing the canvas when fractal will be recalculated, make the max depth of the fractal a compile-time -option, and various other tweaks