Tweaking how Derby logs
Trying to measure and reduce the performance problems in the DB.
Added a bit more sanity checking to the cache.
Less hokey cache management.