Debugged addLoop()
Debugged addLoop()

Does not currently resolve references before passing the function.  This
is the next item to fix.

risebox/bonescript,jadonk/bonescript,beagleboard/bonescript,il9ue/bonesimulator,mwillbanks/octalbonescript,jadonk/bonescript,beagleboard/bonescript,risebox/bonescript,theoctal/octalbonescript,weboide/antl,weboide/antl,il9ue/bonesimulator