space shooter collision detection

BlitzMax Forums/BlitzMax Beginners Area/space shooter collision detection

here's my code:

http://www.mytempdir.com/1300200
download password: bmax

if you hold down spacebar and move around a bit...every few seconds or so the game crashes for a split second. any ideas? the collision code is there too now. i was able to get to my code again (classes alternate at school..diff on diff days and my flashdrive is broken...so i just got access to my code).

if anyone can help w/the freezing issue/can tell me a way to speed up the collision detection, thanks in advance!