Randomized the delay between codes.

Here's the delay randomizer i mentioned. you might want to not accept this and just copy the few lines of code that do the randomization though because I also removed some stuff that I wasnt using but that you probably are. so accept at your own risk. lol ;)