The cause of this one was actually somewhat difficult to track down - it's actually completely unrelated to the first crash you reported, and is because of a really obscure issue that technically isn't even a problem with this mod.
It turned out that something Resource Spawner Overhaul was doing was causing other mods' events to fire in a really unusual order - RSO was calling this mod's function for handling new chunks, before this mod was even told that the surface those chunks were generating on even existed. Normally the "on_surface_created" event fires first, and then the "on_chunk_generated" events after, but because RSO received the "on_surface_created" event first, it then forced other chunks to generate, and consequently fired the "on_chunk_generated" handlers of those other mods before the game fired their "on_surface_created" handlers. Because this mod keeps a list of all chunks that exist on each surface, that weird event order led this mod to try and register chunks to a list that hadn't been created yet.
I've added an edge case so that if the surface isn't known yet, it will just do nothing and wait for the "on_surface_created" event to fire, which will then handle all the chunk registration. That should fix this issue and a couple of potential related issues as well that would technically be possible by similar mechanisms.
The version with the fix has now been published. Thank you for the error reports, and as ever, if you encounter any more crashes please let me know.