Make state transitions return a value (because our code checks it)
Merge pull request #1 from clayenga/master

Make state transitions return a value (because our code checks it)