when adding two private keys to get a new private key, you should mod the result with N so that it is always less than N.
Math only. Does not yet support transactions. Not yet compatible with Dark Wallet.