Bug fixes.
Bug fixes. PB Caching works but need to fix EVERY SINGLE malloc!!!