LoomScript in charge of main loop... all downhill from here ;)