bugfixes and adjustments for Marscoin