Merge pull request #93 from TonyCallear/LoopBugFixesTNG

Loop bug fixes tng
Merge https://github.com/taweili/ardublock into BUILD-LATEST