Return immediately if missing argument, refactor int validation.
Added support for -xs, -ys options to specify cell xsize / ysize.