Signature verification, fix keypair constructor, cleanup.

Oh I'm sorry, it is.