What I think might be happening is that there is some recursion to "Started". Also, why do you have a 0.1 second delay to "writet"? I think you're going to need to post all of your code. I gotta go to bed, I'll check in the morning.
__________________
PM me if you're interested in buying the Credits addition for Base Builder Battlefield Rebirth [66% done] Call of Duty: MW2 [100% done] Base Builder [100% done]