improve vote counting, genesis block init, etc