Revert "Revert "Restore damage done by old VAULT dev. 0 stake reward and coinday troubles.""

This reverts commit c90485fdca29a15e56a2f0b413df79eea22b43eb.