Fix a bug on Mac: wait for scheduler thread end before the end of the main
Merge branch 'master' of https://github.com/claytronics/visiblesim