Seperated control updates from render loop.
Also got rid of 2 lines that said:
for (i=0;i<100;i++){
                       console.log(scene.children[i]);
}
Not sure what they did?