Remove races
Merge pull request #52 from rnapier/race

Race fixes.
I'll accept these since they look fine at a quick glance. Once I've got time, I'll be doing a more wide-sweeping change to thread safety.