Signature verification, fix keypair constructor, cleanup.

Nope, misread comment. Will revert.