Set default values

Set default values for -p and -d so that they don't just show up as "0"
and "(null)", respectively, as those values are pretty ambiguous.