Adding robustness against ResourceLibrary errors

The resource library wrappers now all return options, to account for the
possibility that requests may fail.