more work on implementing 'entire database caching', made it so that if cache_entire_database is enabled, we still save to the database but we don't reset the 'chunks' hash map and set loaded = false. Also added a method to cache entire plants, with a try..catch for out of memory error.