Use getopts to let the user define values like output filenames
Fix spelling error in comment above set -e
Add -q and -t options to set gif transcoding quality and set page title respectively
Added default options for when they aren't set, and defined is_null() to test for unset variables