Added a mutex to keep command responses in line.

There /has/ to be a better way of doing this >.>