Reject new election if one is in progress
Updated code style
Merge pull request #2 from gabmontes/noparallelelections

Reject new election if one is in progress