Add some safeguards to try to find out what's causing chunk loading oddities

Signed-off-by: Ross Allan <rallanpcl@gmail.com>