I think this should be resolved now, I changed a couple lines and tested it a few times without hitting this crash so hopefully it's fixed now. The new version should be 1.0.2