It seems the changes to autosave did this. I was testing it with additional messages to inform me that autosave was starting, and it seems when I removed the messages it started crashing. I'll update soon, hopefully it won't crash when I add some delay to autosaving.