use python to nano-sync frames so it works on mac os
make it work really good on mac os
cleanup the code
Merge pull request #2 from jart/master

Make it work on Mac OS