THese are the final real changes, this works for infinite loops and I also fixed the goldencpp global var catstrope. SHould only need james' stuff now