various cleanup

Just some spring cleaning; probably best to view [here](https://github.com/localshred/protobuf/pull/234/files?w=1) to ignore whitespace
Can you swap the order of the checks back? Will merge after.

```ruby
if rc == 0 && !running?
  break
elsif rc == -1
  break
elsif rc > 0
  ..
end
```