fix DoAutomaticDenominating:  - check for NULL (result of FindRandom, could happen if masternode list is empty)  - assign submittedToMasternode only when all checks are passed  - naming consistency (mn --> pmn)
fix DoAutomaticDenominating:
 - check for NULL (result of FindRandom, could happen if masternode list is empty)
 - assign submittedToMasternode only when all checks are passed
 - naming consistency (mn --> pmn)

dmrtsvetkov/flowercoin,Darknet-Crypto/Darknet,BlockchainTechLLC/3dcoin,lakepay/lake,nightlydash/darkcoin,rdqw/sscoin,LIMXTEC/DMDv3,dmrtsvetkov/flowercoin,aspirecoin/aspire,48thct2jtnf/P,dashpay/dash,cerebrus29301/crowncoin,biblepay/biblepay,ahmedbodi/test2,jmgilbert2/energi,Mrs-X/Darknet,dev1972/Satellitecoin,48thct2jtnf/P,ArgonToken/ArgonToken,inkvisit/sarmacoins,dev1972/Satellitecoin,Mrs-X/PIVX,coinkeeper/2015-06-22_18-36_darkcoin,pinkevich/dash,knolza/gamblr,ColossusCoinXT/ColossusCoinXT,world-bank/unpay-core,BlockchainTechLLC/3dcoin,cerebrus29301/crowncoin,nmarley/dash,axelxod/braincoin,blood2/bloodcoin-0.9,dev1972/Satellitecoin,keesdewit82/LasVegasCoin,ahmedbodi/test2,ionomy/ion,Vsync-project/Vsync,lakepay/lake,DMDcoin/Diamond,blood2/bloodcoin-0.9,mycointest/owncoin,dmrtsvetkov/flowercoin,coinkeeper/2015-06-22_18-36_darkcoin,dev1972/Satellitecoin,axelxod/braincoin,puticcoin/putic,ivansib/sibcoin,ArgonToken/ArgonToken,pinkevich/dash,worldbit/worldbit,rsdevgun16e/energi,antcheck/antcoin,dmrtsvetkov/flowercoin,biblepay/biblepay,npccoin/npccoin,rdqw/sscoin,ediston/energi,48thct2jtnf/P,alejandromgk/Lunar,LIMXTEC/DMDv3,npccoin/npccoin,terracoin/terracoin,worldbit/worldbit,basicincome/unpcoin-core,Darknet-Crypto/Darknet,benzmuircroft/REWIRE.io,grumpydevelop/singularity,HeliumGas/helium,terracoin/terracoin,midnight-miner/LasVegasCoin,ahmedbodi/test2,diggcoin/diggcoin,inkvisit/sarmacoins,antcheck/antcoin,schinzelh/dash,ionomy/ion,HeliumGas/helium,knolza/gamblr,aspirecoin/aspire,dashpay/dash,biblepay/biblepay,knolza/gamblr,basicincome/unpcoin-core,rdqw/sscoin,schinzelh/dash,Mrs-X/Darknet,PandaPayProject/PandaPay,ivansib/sib16,Darknet-Crypto/Darknet,puticcoin/putic,inkvisit/sarmacoins,CoinProjects/AmsterdamCoin-v4,lakepay/lake,PandaPayProject/PandaPay,Mrs-X/Darknet,Bloom-Project/Bloom,projectinterzone/ITZ,alejandromgk/Lunar,ArgonToken/ArgonToken,willwray/dash,putinclassic/putic,putinclassic/putic,rdqw/sscoin,xuyangcn/opalcoin,rsdevgun16e/energi,ivansib/sib16,aspirecoin/aspire,slingcoin/sling-market,rsdevgun16e/energi,rsdevgun16e/energi,Petr-Economissa/gvidon,ArgonToken/ArgonToken,ivansib/sibcoin,pinkevich/dash,npccoin/npccoin,antcheck/antcoin,nmarley/dash,BlockchainTechLLC/3dcoin,nmarley/dash,nightlydash/darkcoin,Mrs-X/PIVX,CoinProjects/AmsterdamCoin-v4,world-bank/unpay-core,rdqw/sscoin,worldbit/worldbit,HeliumGas/helium,grumpydevelop/singularity,RyanLucchese/energi,benzmuircroft/REWIRE.io,npccoin/npccoin,diggcoin/diggcoin,mycointest/owncoin,crowning-/dash,Bloom-Project/Bloom,alejandromgk/Lunar,cerebrus29301/crowncoin,thelazier/dash,nmarley/dash,inkvisit/sarmacoins,biblepay/biblepay,schinzelh/dash,CoinProjects/AmsterdamCoin-v4,BlockchainTechLLC/3dcoin,ahmedbodi/test2,LIMXTEC/DMDv3,lakepay/lake,ticclassic/ic,xuyangcn/opalcoin,Mrs-X/PIVX,UdjinM6/dash,cerebrus29301/crowncoin,terracoin/terracoin,mycointest/owncoin,mycointest/owncoin,DMDcoin/Diamond,keesdewit82/LasVegasCoin,cerebrus29301/crowncoin,Mrs-X/PIVX,ionomy/ion,presstab/PIVX,ahmedbodi/test2,UdjinM6/dash,Petr-Economissa/gvidon,Petr-Economissa/gvidon,ivansib/sibcoin,crowning2/dash,keesdewit82/LasVegasCoin,coinkeeper/2015-06-22_18-36_darkcoin,freelion93/mtucicoin,pinkevich/dash,PIVX-Project/PIVX,freelion93/mtucicoin,pinkevich/dash,ColossusCoinXT/ColossusCoinXT,DMDcoin/Diamond,UdjinM6/dash,grumpydevelop/singularity,diggcoin/diggcoin,ivansib/sib16,Bloom-Project/Bloom,grumpydevelop/singularity,xuyangcn/opalcoin,48thct2jtnf/P,CoinProjects/AmsterdamCoin-v4,LIMXTEC/DMDv3,midnight-miner/LasVegasCoin,alejandromgk/Lunar,putinclassic/putic,dmrtsvetkov/flowercoin,worldbit/worldbit,projectinterzone/ITZ,mobicoins/mobicoin-core,presstab/PIVX,crowning-/dash,coinkeeper/2015-06-22_18-36_darkcoin,pelorusjack/BlockDX,DMDcoin/Diamond,presstab/PIVX,willwray/dash,thelazier/dash,lakepay/lake,axelxod/braincoin,benzmuircroft/REWIRE.io,freelion93/mtucicoin,benzmuircroft/REWIRE.io,world-bank/unpay-core,axelxod/braincoin,BlockchainTechLLC/3dcoin,PandaPayProject/PandaPay,knolza/gamblr,thelazier/dash,jmgilbert2/energi,LIMXTEC/DMDv3,ediston/energi,pinkevich/dash,antcheck/antcoin,willwray/dash,ionomy/ion,midnight-miner/LasVegasCoin,ionomy/ion,presstab/PIVX,slingcoin/sling-market,ColossusCoinXT/ColossusCoinXT,diggcoin/diggcoin,biblepay/biblepay,RyanLucchese/energi,PandaPayProject/PandaPay,schinzelh/dash,PIVX-Project/PIVX,dashpay/dash,thelazier/dash,Mrs-X/Darknet,keesdewit82/LasVegasCoin,xuyangcn/opalcoin,nightlydash/darkcoin,mycointest/owncoin,slingcoin/sling-market,rdqw/sscoin,crowning2/dash,RyanLucchese/energi,schinzelh/dash,UdjinM6/dash,ahmedbodi/test2,ticclassic/ic,nmarley/dash,pelorusjack/BlockDX,PIVX-Project/PIVX,pelorusjack/BlockDX,Vsync-project/Vsync,DMDcoin/Diamond,antcheck/antcoin,UdjinM6/dash,CoinProjects/AmsterdamCoin-v4,mobicoins/mobicoin-core,dev1972/Satellitecoin,ediston/energi,projectinterzone/ITZ,midnight-miner/LasVegasCoin,ediston/energi,Vsync-project/Vsync,ediston/energi,PandaPayProject/PandaPay,aspirecoin/aspire,dashpay/dash,axelxod/braincoin,ivansib/sib16,dmrtsvetkov/flowercoin,basicincome/unpcoin-core,xuyangcn/opalcoin,nightlydash/darkcoin,coinkeeper/2015-06-22_18-36_darkcoin,keesdewit82/LasVegasCoin,jmgilbert2/energi,ivansib/sib16,nmarley/dash,Bloom-Project/Bloom,mobicoins/mobicoin-core,aspirecoin/aspire,Mrs-X/Darknet,ticclassic/ic,CoinProjects/AmsterdamCoin-v4,ivansib/sibcoin,puticcoin/putic,Bloom-Project/Bloom,DMDcoin/Diamond,terracoin/terracoin,crowning-/dash,biblepay/biblepay,terracoin/terracoin,puticcoin/putic,Petr-Economissa/gvidon,ivansib/sibcoin,Petr-Economissa/gvidon,putinclassic/putic,ticclassic/ic,RyanLucchese/energi,ticclassic/ic,blood2/bloodcoin-0.9,alejandromgk/Lunar,nmarley/dash,grumpydevelop/singularity,PIVX-Project/PIVX,Mrs-X/PIVX,putinclassic/putic,HeliumGas/helium,Vsync-project/Vsync,projectinterzone/ITZ,dev1972/Satellitecoin,PIVX-Project/PIVX,biblepay/biblepay,ColossusCoinXT/ColossusCoinXT,worldbit/worldbit,Mrs-X/PIVX,ivansib/sibcoin,keesdewit82/LasVegasCoin,mycointest/owncoin,putinclassic/putic,crowning2/dash,Petr-Economissa/gvidon,lakepay/lake,willwray/dash,Vsync-project/Vsync,willwray/dash,willwray/dash,diggcoin/diggcoin,knolza/gamblr,inkvisit/sarmacoins,RyanLucchese/energi,antcheck/antcoin,projectinterzone/ITZ,npccoin/npccoin,benzmuircroft/REWIRE.io,thelazier/dash,jmgilbert2/energi,nightlydash/darkcoin,PandaPayProject/PandaPay,dashpay/dash,ColossusCoinXT/ColossusCoinXT,blood2/bloodcoin-0.9,npccoin/npccoin,ArgonToken/ArgonToken,pelorusjack/BlockDX,crowning-/dash,ticclassic/ic,basicincome/unpcoin-core,grumpydevelop/singularity,terracoin/terracoin,ediston/energi,crowning-/dash,HeliumGas/helium,jmgilbert2/energi,mobicoins/mobicoin-core,crowning-/dash,Bloom-Project/Bloom,benzmuircroft/REWIRE.io,pelorusjack/BlockDX,basicincome/unpcoin-core,world-bank/unpay-core,mobicoins/mobicoin-core,schinzelh/dash,48thct2jtnf/P,xuyangcn/opalcoin,slingcoin/sling-market,48thct2jtnf/P,freelion93/mtucicoin,Darknet-Crypto/Darknet,slingcoin/sling-market,aspirecoin/aspire,RyanLucchese/energi,worldbit/worldbit,slingcoin/sling-market,puticcoin/putic,inkvisit/sarmacoins,pelorusjack/BlockDX,ivansib/sib16,LIMXTEC/DMDv3,alejandromgk/Lunar,jmgilbert2/energi,midnight-miner/LasVegasCoin,Vsync-project/Vsync,blood2/bloodcoin-0.9,PIVX-Project/PIVX,Mrs-X/Darknet,knolza/gamblr,Darknet-Crypto/Darknet,cerebrus29301/crowncoin,ArgonToken/ArgonToken,BlockchainTechLLC/3dcoin,crowning2/dash,diggcoin/diggcoin,ColossusCoinXT/ColossusCoinXT,biblepay/biblepay,world-bank/unpay-core,presstab/PIVX,axelxod/braincoin,crowning2/dash,presstab/PIVX,freelion93/mtucicoin,PIVX-Project/PIVX,HeliumGas/helium,rsdevgun16e/energi,puticcoin/putic,PIVX-Project/PIVX,rsdevgun16e/energi,Darknet-Crypto/Darknet,ionomy/ion,freelion93/mtucicoin,midnight-miner/LasVegasCoin,PIVX-Project/PIVX