Fix setgenerate behaviour to allow turning off of mining no matter which account is the current account.
Fix setgenerate behaviour to allow turning off of mining no matter which account is the current account.

nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official