fix all non-thread errors
Merge branch 'master' of https://github.com/matthewmfox/6.830-final-project