added threshold flip count
Merge branch 'master' of github.com:anotheria/moskito