Fix a bunch of race conditions
fix test
more fixes against matcher
protect termbox stuff
more stuff
more race fixes
newMutex, sync.Locker
Update changes to describe the fix
Merge pull request #200 from peco/fix-race

Fix a bunch of race conditions