Changes since last update:
- Fix resource cleanup of failed quota initialization
- Fix integer overflow problems wrt s_maxbytes