allow setting the render mode and max iterations from the command line.