fixed most of the bugs associated with chunk loading being broken