Make the votingpool example actually run

Also add a couple missing early returns when there's an error running the
example