Switch from sync.Mutex to chan string

sync.Mutex was causing problems, so switch to a string channel since
it's easier and less likely to mess up.