Added better error reporting to build scripts.
Housekeeping.
Implemented RequestPayload caching.