fixed all known bugs, modified algorithm
Merge branch 'master' of github.com:edlongman/muzzle