Ok, just written a program and I'm now debugging it. I've got to a point where it no longer produces any error messages but still doesn't work. Normally i would assume that it has just ignored parts of my programming rather than found problems with them (though i can't see why) but when i run the script from the editor, the thing freezes and i have to ctrl+alt+delete it. What's going wrong with it?