A lot of changes

Added more debug info for cache requests.
Fixed bulk_read request.
Fixed bug on cache overflow.