added some mutexes, some file I/O issues, hopefully this fixes
Merge branch 'master' of https://github.com/colerc2/btce_bot