Did some error catching and added a very limited caching of some spf data.