Add fractal params validation and fix bug with strange chars in output