adds check which prevents accidently starting a mainloop multiple times
adds check which prevents accidently starting a mainloop multiple times

AndBicScadMedia/vvvv.js,sebllll/vvvv.js,sebllll/vvvv.js,sebllll/vvvv.js,AndBicScadMedia/vvvv.js,AndBicScadMedia/vvvv.js,zauner/vvvv.js,sebllll/vvvv.js,zauner/vvvv.js,AndBicScadMedia/vvvv.js,zauner/vvvv.js,AndBicScadMedia/vvvv.js,sebllll/vvvv.js,zauner/vvvv.js,zauner/vvvv.js