Make sure to unset the checked flag for chests.
Replace loops with the iterator version.
Removed ChunkCache. Not even sure why it was in the code...