Fixed dpaste link
Fixed undefined robot error; added warning if Pastebin key is unset; and cleaned up