Fix overlapping detection. Fix an use after free. Fixes #41
Fix overlapping detection. Fix an use after free. Fixes #41

Stebalien/bar,sector-f/bar,Chrysostomus/bar,jshe857/bar,DelusionalLogic/bar,Chrysostomus/bar,TheZoq2/bar,Stebalien/bar,emgram769/bar,neeasade/bar,krypt-n/bar,jvvv/bar,chadvoegele/bar,jhallard/bar,emgram769/bar,neeasade/bar,LemonBoy/bar