Temporary fix for offline mode corrupted chunks

Other minor fixes