Make KNOWN_OPTS consistent with @opts.
Minor cleanup.
Add mellow.
Fix that error.
Slightly modify the error text.
Add support for environment variables.