Lots of changes for getting Looper working
loops are working well now