Simplify CLI code a bit.

Also, simplify the scrypt parameters. N is now just the exponent.