Sane multithreading
Merge pull request #5 from l1x/go-loops

Sane multithreading